jamie_lynn
asked on
Update time on Solaris
Hi,
When I use the date command, my time is off by 30min. What is the command to update the time on my solaris machine?
Thanks
Jamie
When I use the date command, my time is off by 30min. What is the command to update the time on my solaris machine?
Thanks
Jamie
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What is the exact command to add 30 min? Do I have to type in the the entire time format?
Thanks
Jamie
Thanks
Jamie
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
*nix box, or "ntpdate" to get time from a NTP server.
login as root, type in:
eg:
/usr/bin/rdate timeservername
/usr/sbin/ntpdate ntpserver
man rdate
man ntpdate
to learn more details.
you can put it in the crontab.