服务器时间同步
[root@localhost ~]# ntpdate pool.ntp.org [root@localhost ~]# ntpdate time.windows.com [root@localhost ~]# crontab -e 1 0-23 * * * ntpdate pool.ntp.org
保存退出
查看计划任务是否执行
[root@localhost ~]# grep ntpdate /var/log/cron 0 2 * * * /usr/bin/php -f /home/www/lvlin001/www.lvlin001.com/required/script/tuan.php