Do you just wnat to set the time?

add this line to your crontab, probably have to change time1.stupi.se to
some NTP server somwhere, unless you are in sweden:

/usr/sbin/ntpdate -bu -t 3 time1.stupi.se 1>/dev/null 2>&1

and:

/sbin/hwclock --systohc 1>/dev/null 2>&1

a minute or so after the prev.

Hope that does it!

/ Henrik

-----Ursprungligt meddelande-----
Från: cana rich [mailto:[EMAIL PROTECTED]]
Skickat: den 18 juli 2002 13:38
Till: [EMAIL PROTECTED]
Ämne: HOWTO : configure date and time


Hello,

    I would like to configure the date and time for
today. Is someone know what is the command line for
it?
I've tried :
> date 18072002
so i have the date of today july 18th at 20:02 time
but I don't know how to configure the year.

Thanks for your help.

Canarich

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to