Centos Crontab查看状态和开启

# service crond status
crond is stopped

# service crond start
Starting crond
# service crond status
crond (pid  20962) is running...

git 自动拉取,写入日志

# 自动拉取
* * * * * cd /home/wwwroot/default/dexin/dragon/ && /usr/local/git/bin/git pull origin dexin >> /tmp/dexin_git.log 2>&1

posted @ 2018-09-17 10:02  TBHacker  阅读(9153)  评论(0编辑  收藏  举报