My daily weekly and monthly cron jobs recently stopped working. Around October 3. It looks like the jobs only run now if the computer is on at exactly 12AM. Is this the change that was discussed back in July, about run-parts? -a TW user
I noticed the same behavior here after the update from
cronie-1.5.5-84.4 to cronie-1.5.7-85.1 (installed 09/06/21). The
new syntax in /etc/crontab
@hourly
root run-parts /etc/cron.hourly
@daily root run-parts /etc/cron.daily
@weekly root run-parts /etc/cron.weekly
@monthly root run-parts /etc/cron.monthly
doesn't work here. System is switched on by BIOS at 2am (UTC)
for daily backup and runs for 20-30 minutes, but no cron jobs
are executed (also not during the day).
So I went back to
-*/15 * * *
* root test -x /usr/libexec/cron/run-crons &&
/usr/libexec/cron/run-crons >/dev/null 2>&1
which works fine.
"run-parts
--test /etc/cron.daily/" shows all scripts in
/etc/cron.daily (for some reason it will not show any file names
containing a ".", so /etc/cron.daily "cron-script.sh" will not
show up).
Regards,
Oliver