You are not logged in.
Hi,
my daily cronjob -- snapper cleaning up btrfs snapshots -- is no longer executing, and I get the following error in the journal:
Job `cron.daily' locked by another anacron - skipping
I think this happend just after I added a new hourly cron job to cronie. But I didn't add another anacron job, as the error would suggest.
What does the error mean and how can I debug it? How can I determine what process locks the execution of daily cronjobs?
Thanks
Last edited by gen2arch (2017-09-07 13:13:33)
Offline
I guess here is what the problem was:
upon installation snapper installs a daily cronjob script in /etc/cron.daily named "snapper" (basically a cleanup script), but this is not activated via cronie, as cleanup is done by a dedicated snapper systemd service.
I then installed an hourly cronjob and activated the systemd cronie service, -- which resulted in two conflicting snapper cleanup services at the same time.
I removed the "snapper" script from cron.daily an it would seem everything works now.
gen2arch
Offline