crontab 常用命令
* * * * * /usr/bin/php -f /home/wwwroot/test/a.php >> crontab.txt
*/1 * * * * /usr/bin/wget "http://139.196.18.164/index.php?c=index&a=crons"
crontab -e 编辑用户的 计划任务
crontab -l 查看计划任务列表
crontab -r : 删除目前的时程表
*/10 * * * * php /home/wwwroot/tp.5fuhu.com/artisan toupiao >> /home/wwwroot/tp.5hufu.com/test.txt
/sbin/service crond start 启动
/sbin/service crond stop //关闭服务
/sbin/service crond reload 重启
// tp.mm1738.com
*/20 * * * * php /home/wwwroot/tp.sidingli.com/artisan toupiao >> /home/wwwroot/tp.sidingli.com/test.txt
*/20 * * * * php /home/wwwroot/tp.5hufu.com/artisan toupiao >> /home/wwwroot/tp.5hufu.com/test.txt
crontab 安装
yum -y install vixie-cron
yum -y install crontabs