定时crontab命令运用【原创】

crontab -e
0 1 7 * * /yurstartjavascript
0 1 8 * * /yurstopjavascript

crontab 后
按i 依次添加 就可以了。

然后
按esc
输入:wq
再service crond restart
即可

猜你喜欢

转载自ml365.iteye.com/blog/839756