[Bug 606491] Re: start: Job is already running: anacron
Daniel Richard G.
skunk at iskunk.org
Sat Jan 7 17:19:56 UTC 2012
The logic is already written with the intent of failing silently if
anacron is already running; that's what the "|| :" bit is for. Anacron
can be started from multiple places (various cron entries and pm-utils),
so it has to address the possibility of collisions from two instances
starting at roughly the same time. (I'm only getting the e-mail
infrequently, so this is what is probably happening in my case.)
If you find the e-mail messages useful for diagnosing hung jobs, then
you'll need to file a separate feature request. For one, anacron would
need better logic to determine when collisions are a result of those
rather than two instances starting in close succession.
--
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