3

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

1 Answer 1

2

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .