You are not logged in.
Hi all,
So like you all our email notifications on the newer versions when using the cron.php are broken.
Turns out it is the cron.php itself.
I copied the cron.php from our 10.0.3 instance of GLPI to our 10.0.7 and now the cron jobs work as expected, runs each min and sends all the queued emails.
I hope this helps others.
I did a compare on the two scripts
Line 40
define('DO_NOT_CHECK_HTTP_REFERER', 1);
That is on the OLD not on the new. That is the only difference.
Old Left, New Right
Offline
Do you changed something or just copied pasted the old cron file?
Offline
Does it also improve mailgate cli process?Our is stuck and we need to run it manually
Offline
Do you changed something or just copied pasted the old cron file?
I just made the old copy from 10.0.3 as cron1.php and pointed my 10.0.8 cron job to that and it runs each min without issues so far.
Offline
Does it also improve mailgate cli process?Our is stuck and we need to run it manually
I don't use the mailgate option but you could always try it.
Offline