cron running at odd times?
Adam Funk
a24061 at ducksburg.com
Tue Feb 21 20:39:09 UTC 2012
On 2012-02-21, Knute Johnson wrote:
> On 2/20/2012 1:11 PM, Adam Funk wrote:
>> OK, the only other thing I can think of is this: I'm fairly sure the
>> scripts in /etc/cron.daily are run in alphabetical order (starting
>> with the numbers). Maybe the script before your custom one is (for
>> some strange reason) occasionally taking a long time to complete?
>>
>> (HTH)
>>
>>
>
> That could be. My script is alphabetically the last script. The thing
> is it wasn't just delayed, it ran an extra time at the odd hour. Or
> maybe it was delayed from two days before, I don't know. Anyway, it
> hasn't done it again so maybe it was just some crazy blib.
Ah well, it's impossible to debug something that only happens once!
If it happens again, I think you could add invocations of the logger
command to the beginnings & ends of some of the cron.daily scripts so
that you'll get a record of exactly when they started & finished.
More information about the ubuntu-users
mailing list