반응형
[/sbin] # crontab -l
0 4 * * * rdate -s time.bora.net && /sbin/hwclock --systohc
Case1) /sbin/hwclock -s / 하드웨어 시간
Case2) rdate -s time.bora.net && /sbin/hwclock -w
Case3) rdate -s time.bora.net && /sbin/hwclock --systohc / 바뀐 시스템 표준시각을 H/W 설정
시간 수동으로 변경
[root@server ~]# date -s "2014-09-05 11:51:05"
Fri Sep 5 11:51:05 KST 2014
출처: http://antilibrary.org/422 [Alex’s Antilibrary : My collection of unread books]
반응형
'Linux' 카테고리의 다른 글
[shell] Time format (0) | 2017.02.01 |
---|---|
LISTEN Port확인 (0) | 2016.11.11 |
[Linux]rsync 복사 (0) | 2016.11.01 |
강제 umount 방법 (umount : device is busy 발생시) (0) | 2016.08.05 |
network IP설정확인 (0) | 2016.04.26 |