Hi everyone . my server neth ver. 7 regularly performs anacron programming, executing the cron.daily, cron.weekly, etc. scripts.
Often he makes several attempts before completing the scripts, here’s how:
Aug 24 10:01:01 neth7 anacron [18869]: Job cron.daily 'locked by another anacron - skipping Aug 24 10:01:01 neth7 anacron [18869]: Jobcron.weekly 'locked by another anacron - skipping
Can anyone tell me which process prevents the execution of anacron ??
Thank you
Anacron is installed and run by default on the server to process all jobs on daily, weekly, etc. Do I need to change anything related to anacron or disable it? If yes, how can I act correctly?
Sorry. My fault. I thought it can be enabled/disabled.
Cron runs anacron in /etc/cron.hourly/0anacron so if the jobs are completed without errors, you can ignore the “locked by another anacron” errors.
Sorry, I think I wasn’t clear enough.
You don’t need to delete or add files or remove anacron.
If there are no errors about the jobs itself, you don’t need to change anything.