网站更新内容:请访问: https://bigdata.ministep.cn/

crontab调度示例

一些crontab调度示例

10 6 * * * root reboot
10 7 * * * python /root/confluence_backup.py
*/5 * * * * flock -xn /tmp/stargate.lock -c '/usr/local/qcloud/stargate/admin/start.sh > /dev/null 2>&1 &'

35 19 * * *  bash   /home/weixin_wechat/weixin_serve.sh  >>/home/logs/$(date +"\%Y-\%m-\%d-\%H-\%M")weixin_serve.log 2>&1

40 19 * * *  bash   /home/weixin_wechat/run.sh  >>/home/logs/$(date +"\%Y-\%m-\%d-\%H-\%M")weixin_run.log 2>&1

40 20 * * *  bash   /home/weixin_wechat/run.sh  >>/home/logs/$(date +"\%Y-\%m-\%d-\%H-\%M")weixin_run.log 2>&1


40 19 * * *  bash   /home/weixin_wechat/mp_sql_analysisi/run.sh  >>/home/logs/$(date +"\%Y-\%m-\%d-\%H-\%M")run_sql_analysis.log 2>&1

40 20 * * *  bash   /home/weixin_wechat/mp_sql_analysisi/run.sh  >>/home/logs/$(date +"\%Y-\%m-\%d-\%H-\%M")run_sql_analysis.log 2>&1
posted @ 2021-04-25 22:08  ministep88  阅读(298)  评论(0编辑  收藏  举报
网站更新内容:请访问:https://bigdata.ministep.cn/