crontab -l chmod 777 xx.sh(授权) crontab -e(设置定时任务定时执行sh) 59 23 * * * /usr/local/xxx/xxxx.sh systemctl reload crond(重新加载crond配置) systemctl restart crond(重新启动crond) crontab -l 查看配置的定时器 crontab执行时间计算 - 在线工具