Setting clock to local time

Siri Amrit Kaur tigerflag at tigerflag.com
Thu Dec 1 16:31:41 MST 2005


On Thursday 01 December 2005 03:47 pm Jeremy C. Reed kindly wrote:
> On Wed, 30 Nov 2005, Siri Amrit Kaur wrote:
> > hwclock --show currently gives me 22:34
> >
> > How do I set the system to local time?
>
> Hi Siri,
>
> I have a symlink at /etc/localtime that points to my local timezone
> file.
>
> You can create (for your timezone) like:
>
>    ln -sf /usr/share/zoneinfo/America/Phoenix /etc/localtime
>
> Then use:
>
>    date 12011443
>    hwclock --systohc
>
> The format of the date command is MMDDhhmm (Month, Day, Hour,
> Minute). Replace with your correct hour and minute.
>
>   Jeremy C. Reed
>
Thanks so much, Jeremy, that worked a treat!

Thanks to everybody for your suggestions. The cron job was a little 
over my head. I've never messed with cron...

Siri Amrit
-- 
Tigerflag Natural Perfumery, LLC
www.tigerflag.com


More information about the PLUG-discuss mailing list