For linux operating systems and time synchronization settings, note the following command prerequisites: run the root permission to set the time: www.2cto.com date-s 11:25:36: date-s 07/26/2005 forcibly write the system time to CMOS (otherwise, the system will write the set time to the motherboard CMOS in 11 minutes by default): clock-w www.2cto.com synchronize from the time server: ntpdate xxx -- "xxx" is a synchronization server domain name or IP address modification scheduler task. type the command crontab-e to modify the scheduler task configuration file and add the following command: 0 3 ***/usr/sbin/ntpdate 172.1.1.1>/var/log/ntpdate. log 2> & 1 the preceding command allows the time synchronization command to be executed at every day. At the same time, the execution result of the synchronization command is written and saved to "/var/log/ntpdate. note in the log file: The ntpdate command must be in the full path, Otherwise, the command cannot be found. You do not need to enter the full path during command line execution.