[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cron time is not same as system time



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.

--
Kind Regards,     ::    T: +44(0)1223 446093
Chris Buckley     ::    Systems Administration and Security, UNIX.
Netbanx, Ltd. Mount Pleasant House, Cambridge, CB3 0RN.
Registered in England and Wales: number 3202516.



Reply to: