It is easy to find failed cron jobs by setting log_level but how to do it with anacron?


It is possible to get exit status from syslog.

To get all anacron log lines:

grep 'anacron' /var/log/syslog

To get only anacron log lines from failed jobs:

grep -E 'anacron.*exit status' /var/log/syslog
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.