Re: cron time is not same as system time



Chris Buckley(chris.buckley@xxxxxxxxxxx) is reported to have said:
Hi,

A very strange problem has cropped up on our Debian GNU/Linux 3.1 box this
morning.

We have a crontab for a user scheduled to run at:

45 4 * * * /path/to/utils/script-executed.pl
2>/path/to/logs/stdout-foobar.log

The cron.log shows this file running at "04:45".

Aug 22 04:45:01 nbxprodsgw01 /USR/SBIN/CRON[684]: (netbanx) CMD
(/path/to/utils/script-executed.pl
2>/path/to/logs/SEB_batch_logs/stdout.log)

HOWEVER, the cron does not actually run until 09:45.
I have witnessed this first hand this morning, tailing the cron.log and
seeing at 09:45 the process run, but the time being recorded as 04:45.

I can't immediately see a problem.

cbuckley@hermes:/var/log$ tzconfig
Your current time zone is set to Europe/London

cbuckley@hermes:/var/log$ date
Wed Aug 22 10:02:44 BST 2007

The box is one which, unfortunately, I do not have root rights on - we
outsource a lot of our servers. What checks would I need to perform (given
my limited user rights) to assess and help diagnose what the problem is?

Any help very much appreciated.

Just found the same thing here.

Had to run dpkg-reconfigure tzdata. It had me in Central Europe. :-(

Wayne

--
Beta. Software undergoes beta testing shortly before it's released.
Beta is Latin for "still doesn't work."
_______________________________________________________


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • cron time is not same as system time
    ... Your current time zone is set to Europe/London ... What checks would I need to perform (given my limited user rights) to assess and help diagnose what the problem is? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: [opensuse] A 3D World Beryl
    ... Hey, I have Beryl running (I believe 2.0 beta) and I was wondering, have any of ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: OT (slightly) swap limits
    ... Still waiting for it to get out of beta. ... iceweasel 3.0b5 in experimental should be right up your alley. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... after being asked by a child in Britain what the White House was like ...
    (Debian-User)
  • Re: OT (slightly) swap limits
    ... iceweasel 3.0b5 in experimental should be right up your alley. ... It is beta. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: flac and wav
    ... Rezound is also in Etch, ... the beta of v1.2.4 is *usually* much more advanced than ... Give a man a fish, and he eats for a day. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)