You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple cron jobs. Some run every 15 minutes, others run once a day. Some of those once a day cron jobs takes more than 15 minutes to run. So what sometimes happens is that it will run that job twice because the "next run" doesn't update until after the cron job runs. What I think we need is the "next run" to update first or some sort of block placed on that job if it is already running.
The text was updated successfully, but these errors were encountered:
Nice idea, but what happens, when the cron job crashes or runs in a time limit? Then we could use a register_shutdown_function to clear those locks that are not removed automatically.
I have multiple cron jobs. Some run every 15 minutes, others run once a day. Some of those once a day cron jobs takes more than 15 minutes to run. So what sometimes happens is that it will run that job twice because the "next run" doesn't update until after the cron job runs. What I think we need is the "next run" to update first or some sort of block placed on that job if it is already running.
The text was updated successfully, but these errors were encountered: