[Bug 606491] Re: start: Job is already running: anacron
Johannes Martin
606491 at bugs.launchpad.net
Sun Jan 8 07:42:09 UTC 2012
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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to anacron in Ubuntu.
https://bugs.launchpad.net/bugs/606491
Title:
start: Job is already running: anacron
Status in “anacron” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: anacron
Every day cron sends me this email:
Date: Sat, 17 Jul 2010 07:30:01 +1200
From: Cron Daemon <root at hostname>
To: root at hostname
Subject: Cron <root at hostname> start -q anacron || :
start: Job is already running: anacron
I've tried to find out why it was running twice, but I could only find
one copy of anacron in the cron directories...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/606491/+subscriptions
More information about the foundations-bugs
mailing list