On Fri, 22 Apr 2005 10:22:23 +1200
Roy Britten wrote:

> On Fri, Apr 22, 2005 at 10:18:43AM +1200, Rex Johnston wrote:
> > Both 'date' and 'cron' load the compiled timezone entry pointed to by
> > /etc/localtime.  This is a symbolic link, where does it point on your
> > system?
> > 
> > [EMAIL PROTECTED]:~$ ls -l /etc/localtime
> > lrwxrwxrwx    1 root     root           36 Jul 19  2004 /etc/localtime 
> > -> /usr/share/zoneinfo/Pacific/Auckland
> 
> $ ls -l /etc/localtime
> lrwxrwxrwx    1 root     root           36 Apr  6 09:11 /etc/localtime
> -> /usr/share/zoneinfo/Pacific/Auckland

is the environment variable TZ set in the environment in which cron runs?

[EMAIL PROTECTED] nick $ date
Fri Apr 22 10:24:05 NZST 2005
[EMAIL PROTECTED] nick $ TZ=PST date
Thu Apr 21 22:24:12 PST 2005




-- 
Nick Rout

Reply via email to