Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use this node to add entries to a system or user crontab? #51

Closed
hepcat72 opened this issue Feb 20, 2022 · 1 comment

Comments

@hepcat72
Copy link

Love this node.

I have one annoying problem though... I have a "DVR" workflow where this node outputs dynamic schedule messages to exec nodes that record TV shows. I have 1 pair of shows that record on Sunday morning (Face the nation and Meet the Press). But I often mess around in node red on Sunday mornings and have learned that re-deploying kills those recording processes running in the exec nodes.

To avoid that, I thought maybe this node could be used to append to the user's or the system crontab? Has anyone done that with the command response output? Or is there a way to set the cronplus node to "use" a user's crontab as it's basis for events (like supply the command to it and everything)?

@Steve-Mcl
Copy link
Owner

Hi @hepcat72

Unfortunately, this is (like most nodes) a pure js implementation of crontab & does not interface with the OS. This permits it to work truly cross platform.

But I often mess around in node red on Sunday mornings and have learned that re-deploying kills those recording processes running in the exec nodes

Do you mean processes launched by node-red are stopped/killed when deploying changes? Are you doing full, partial or node deploy? A node deploy should not stop your processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants