Crons not working

dorucrisan

Verified User
Joined
Oct 23, 2021
Messages
207
Location
Bucharest / Romania
I just discovered that crons are not running on one of my DA servers since September. There are 3 dates when each of the sites (around 40) stopped executing the crons, not all stopped the same date. All are daily crons. There is no sintax error or something of this kind to suspect, as all crons used to work as they are now, for the past 2 years or so. Exactly same crons works jus fine on other DA servers I have. I suspect something happened during some update or something of this kind. Problem is that crons are not starting, are not initiated by DA, not that starts and, for some reason do not finish. Is there anything I need to test/check or do to make crons work again. Thanks in advance. I have several accounts on that server (4) but all crons are on admin account if that matters. It used to work like that for a lomng time before.
 
In DirectAdmin (At least my copies) /var/log/cron doesn't exist, and the cron entries appear in /var/log/syslog

[Using Ubuntu 24.04 ESM]
 
Check if the cron service is running and if other crons (monthly etc) are running or not.
Restart the crond service, check for typo's in the cron files.

grep -i cron /var/log/* or journalctl -u crond to check if anything is happening.

Did you turn it off and on again? :)
 
1762084088942.png


How can I start/restart/ install cron service?
There is something wrong here.
 
Back
Top