Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: cron time is not same as system time

From: Giorgos D. Pallas <gpall(at)ccf.auth.gr>
Date: Wed Aug 22 2007 - 09:50:31 EDT


Chris Buckley wrote:
> Douglas A. Tutty wrote:
>> Is the system clock set to UTC? $ cat /etc/default/rcS
>>
>> You should see a line
>> UTC=yes.
>
> A good point. It currently reads:
>
> UTC=no
>
>> I don't know if this matters, and with a tz of London it shouldn't
>> account for 5 hrs.
>
> Agreed. It's certainly a very bizarre problem, and one which I have
> a) not encountered before b) have no rational explanation.. :(
>
>> Is 09:45 the time the process starts
>
> Bang on, 09:45:01 it starts. You can see the process start and is
> written to the cron.log output at the same time. Though, it's
> recorded as starting at 04:45, which is clearly very wrong.
>
> I'll put a change in to switch the box to UTC, if the list things it
> would be a prudent step?
>
> Appreciate your reply.
>
>

I had exactly the same problem a couple of days ago. I was surprised to find out that the /usr/share/zoneinfo/ mplah mplah file which defines my timezone was damaged (don't know how...). I replaced it and all was fine again...

So, my suggestion, try to reinstall tzdata...

G.

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Aug 22 09:51:08 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:40:54 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library