System: Contos 5.5
Function: Timed from the network to a more accurate time
Usage: There are several ways to update the time, here is a simple introduction to the Rdate command
The system usually comes with the rdate command at the time of installation, we have to do it very simply, as follows:
1, the trial command for the first time update:
#/usr/bin/rdate-s time.nist.gov
Explanation: a./usr/bin/is the directory where the command is default;
B.-s indicates that the acquired time is saved locally;
C.time.nist.gov is the time server that is being looked up from the network. (You can also create your own time server, do not introduce)
2. Use timed tasks to execute the rdate command
#crontab-E
Add the following line (12 points per day, 20 point execution)
0 12,20 * * */usr/bin/rdate-s time.nist.gov >/dev/null 2>&1
Timing Task Time Rule introduction: http://ycgit.blog.51cto.com/8590215/1382821
Linux time-lapse calibration