Comment 26 for bug 606491

Revision history for this message
Johannes Martin (jmartin-notamusica) wrote :

The description of the --quiet option says: "Reduces output of all commands to errors only."

Anacron not starting a second instance because another anacron is already running IS an error, as we expect the start command to successfully start anacron. We expect anacron to do the periodic jobs reliably. And if some job is hung (as in the case of apt-key in my case) we need some notification about the error.

I see a couple of solutions:
- Add an option to anacron that makes it check when it was last run and only run it again if a configuration amount of time has passed since the last run. If the time has not passed, silently quit.
- Make anacron execute all jobs in background and quit once all jobs have been started. Would need some helper process to record and report output of the jobs via mail.