[nmglug] Time and cron jobs

Gary Sandine gars at laclinux.com
Tue Dec 7 21:55:37 PST 2004


On Wed, 2004-12-08 at 01:05 +0000, Mars DeLapp wrote:
> jmdelapp at comp010:~$ date
> Wed Dec  8 00:34:27 UTC 2004
> jmdelapp at comp010:~$ date -u
> Wed Dec  8 00:34:31 UTC 2004
> 
> the file /etc/timezone contains:
> America/Denver
> 
> But the date command (without -u) still shows UTC instead of MST
> 
> Anyone know how to fix this?

Maybe there is no /etc/timezone symlink in that computer?

There is a program to do this (I don't know what it is called):

# ln -sf /usr/share/zoneinfo/America/Denver /etc/localtime

date will then show MST times.






More information about the nmglug mailing list