Scheduled jobs no longer run after apgrade to V16

Hi all,

I have a issue with scheduled jobs not running. It was working fine until recently and i suspect it stopped on an upgrade to V16. I am getting a “late” icon next to the job and the job doesn’t run. I have confirmed with the hosting provider that the underlying Cron script is being executed. I adjusted this to run every minute as a test, but that has made no difference.

The only log output i get is from the dolibarr_cron.log file and is below.

2023-02-09 09:43:30 NOTICE 105.213.4.32 — Access to GET /dolibarr/public/cron/cron_run_jobs_by_url.php - action=, massaction= NOTOKENRENEWAL=1
2023-02-09 09:43:31 INFO 105.213.4.32 Conf::setValues
2023-02-09 09:43:31 INFO 105.213.4.32 cron_run_jobs.php job not qualified line->datenextrun:2023-02-09T19:39:26Z line->datestart:2022-05-05T19:39:26Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:31 INFO 105.213.4.32 cron_run_jobs.php job not qualified line->datenextrun:2023-02-14T14:55:00Z line->datestart:2022-04-25T23:00:00Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:31 INFO 105.213.4.32 cron_run_jobs.php job not qualified line->datenextrun:2023-02-09T21:47:00Z line->datestart:2022-05-16T21:47:00Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:31 INFO 105.213.4.32 cron_run_jobs.php job not qualified line->datenextrun:2023-02-09T23:10:00Z line->datestart:2022-09-20T23:00:00Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:31 INFO 105.213.4.32 cron_run_jobs.php job not qualified line->datenextrun:2023-02-09T11:50:00Z line->datestart:2023-01-14T13:30:00Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:31 INFO 105.213.4.32 cron_run_jobs.php line->datenextrun:2023-02-09T11:37:00Z line->datestart:2023-01-16T00:00:00Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:31 INFO 105.213.4.32 Cronjob::run_jobs entity for running job is 1
2023-02-09 09:43:35 INFO 105.213.4.32 Cronjob::run_jobs END
2023-02-09 09:43:35 INFO 105.213.4.32 Cronjob::run_jobs now we update job to track it is finished (with success or error)
2023-02-09 09:43:35 INFO 105.213.4.32 Conf::setValues
2023-02-09 09:43:35 INFO 105.213.4.32 cron_run_jobs.php job not qualified line->datenextrun:2023-02-14T01:00:00Z line->datestart:2022-05-05T19:39:00Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:35 INFO 105.213.4.32 cron_run_jobs.php job not qualified line->datenextrun:2023-02-09T11:45:00Z line->datestart:2023-01-16T00:00:00Z line->dateend: now:2023-02-09T11:43:30Z
2023-02-09 09:43:35 INFO 105.213.4.32 — End access to /dolibarr/public/cron/cron_run_jobs_by_url.php

It was my understanding thet the “not qualified” error is normal if you have not setup the con on the host. But in my case this has been done and it was working.

Does anyone have any ideas of what the issue may be?

Hi

I just fund my cron job no longer run as your situation .
So i believe this is a issue and i have report this in github .

Hi

The last cron_run_jobs.php on github works fine for me .