cron running at odd times?

Knute Johnson ubuntu at knutejohnson.com
Tue Feb 21 00:50:01 UTC 2012


On 2/20/2012 1:11 PM, Adam Funk wrote:
> On 2012-02-20, Knute Johnson wrote:
>
>> On 2/20/2012 4:29 AM, Adam Funk wrote:
>>> On 2012-02-20, Knute Johnson wrote:
>
>>>> This is the system /etc/cron.daily folder.  You can't put a script in
>>>> there that you want run as root every day?
>>>
>>> Is it possible the computer was off during the usual cron.daily time
>>> and anacron ran it later?
>>>
>>>
>>
>> It's on a server, it never gets shut off.
>
> 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.

-- 

Knute Johnson




More information about the ubuntu-users mailing list