root@freecatz:~# rdate -s time.bora.net && hwclock --systohc
root@freecatz:~# vi /etc/crontab
# m : minute (0 - 59)
# h : hour (0 - 23)
# dom : day of month (1 - )
# mon : month (1 - 12) OR jan,feb,mar,apr ...
# dow : day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# m h dom mon dow user command
59 23 * * * root rdate -s time.bora.net && hwclock --systohc
댓글 없음 :
댓글 쓰기