Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
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
Required, but never shown