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

Would node cron jobs start automatically after a server reboots? #409

Open
ZehuaZhang opened this issue Nov 28, 2023 · 1 comment
Open

Comments

@ZehuaZhang
Copy link

Does it natively use crontab?

Do I need to use some kind of daemon or scheduler to restart the node cron jobs after system reboot, or the jobs crashes?

Or does it restart itself?

@marcelo-agil
Copy link

Hi.
It seems like it doesn't, you can check by setting crontasks using node-cron > using a terminal > crontab -e.

You can see that nothing is there.

For some people that might be a problem, but I solved that by calling crontask setting each time the application is restarted.

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