This patch hits the needs of people having problems with anacron hanging.
For the issues with hanging, and causing a notification if anacron is still running long after it should be, I think a separate process is in order. I could not find any way within upstart to do this, so I wrote a short script to launch from cron daily and squawk if anacron has been running >12 hours.
I've tried to make my script as portable as possible, but I'm not sure how portable my ps(1) and date(1) syntax is, or on how many platforms anacron is used.
This patch hits the needs of people having problems with anacron hanging.
For the issues with hanging, and causing a notification if anacron is still running long after it should be, I think a separate process is in order. I could not find any way within upstart to do this, so I wrote a short script to launch from cron daily and squawk if anacron has been running >12 hours.
I've tried to make my script as portable as possible, but I'm not sure how portable my ps(1) and date(1) syntax is, or on how many platforms anacron is used.