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

NODE-CRON ISSUE ON UBUNTU (NOT RUNNING CRON) #401

Open
EKI-INDRADI-PRIEDS opened this issue May 5, 2023 · 2 comments
Open

NODE-CRON ISSUE ON UBUNTU (NOT RUNNING CRON) #401

EKI-INDRADI-PRIEDS opened this issue May 5, 2023 · 2 comments

Comments

@EKI-INDRADI-PRIEDS
Copy link

No description provided.

@Ratstail91
Copy link

I've had this similar issue of node-cron not running, though this time it was on debian.

My timer was set to 10 0 0 1 * * - which I took to mean 10 seconds after midnight on the 1st of the month. However, this job didn't seem to execute on time.

Any help is greatly appreciated.

@ramit-mitra
Copy link

ramit-mitra commented Aug 6, 2023

I have a similar issue, I have two crons defined to run twice every minute, however, only the 1st one is running fn1 (the 2nd one is not getting invoked fn2). Below is the snippet:

...
const cron = require("node-cron");
...

cron.schedule("0,30 * * * * *", fn1());
cron.schedule("0,30 * * * * *", fn2());
...

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

3 participants