赵序庚
首页
学习笔记
原创分享
故乡滕州
居张家口
赵怀栋
赵怀梁
学习笔记
电脑网络
信用卡和支付
中小学
焊接和机加工
赵氏族谱
杂项
电子DIY
理工看世界
crontab的时区问题
需要在/etc/crontab文件中增加以下两行:
CRON_TZ=Asia/Shanghai
TZ=Asia/Shanghai
然后重启: service cron restart