ultimate cron cron jobs are running fine but status report page shows, some jobs are behind schedule

Created on 11 March 2018, about 7 years ago
Updated 27 February 2025, about 2 months ago

ultimate cron cron jobs are running fine but status report page shows, some jobs are behind schedule.

I have 9 cron jobs, 1 job has to run every week , 6 everyday once at 12 am and 1 is at 15mins and other one is at every 5 minutes. I have set main cron to run at every 5 minutes.

Cron are running fine whatever the interval we set, but in status report page I can see some warning like cron jobs are running behind the schedule.

I have try to debug the jobs modules/contrib/ultimate_cron/src/Plugin/ultimate_cron/Scheduler/Crontab.php file isBehind(CronJob $job) method.

isBehind methos is trying to figure out the behind value. Suppose if my cron runs at every 5 minutes and it got triggered at 11.30 next cron job running time is 11.35, cron job is running at 11.35. But isBehind showing next cron job running time is 11.32. My cron job ran at 11.30 and if I access status report page between 11.30 to 11.35, I can see 1 job behind the schedule error. If we try to access status report page at 11.34 then job which ran already at 11.30 but next cron job running time suppose to be 11.35 but isBehind methods fetch as 11.32. 2 minutes diference is calcuated as behind value and we are getting warning.

Similar to all jobs. Even though when all cron jobs ran at specified interval.

Please help me resolving the warning.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India flutterstack

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024