What's the meaning of "anacron[PID]: Job `NAME' locked by another anacron - skipping"?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux All
  • cronie

Issue

I found some message like ''locked by another anacron - skipping", what is the problem with cron?

Resolution

When anacron runs, it will add locks on the job files and will remove the lock on the job file when a job finishes. This message means some jobs are still running so the anacron process still holds the locks.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments