该问题是在使用 crontab 做定时任务时,选用的本地为本地时间,与之不匹配时,所做修改。·
date
timedatectl status
timedatectl set-timezone "Asia/Shanghai"
reboot