Linux定时任务采集文章
二、crond服务
crontab:
crontab -l //列出crontab
crontab -e //编辑crontab
crontab -r //删除crontab
服务操作:
service crond start //启动服务
service crond stop //关闭服务
service crond restart //重启服务
service crond reload //重新载入配置
service crond status //查看状态
三、创建crontab
crontab -e
1 | * * * * * php /home/wwwroot/wwyl.xxxx.xyz/wwyl/artisan schedule:run >> /dev/null 2>&1 |
四、查看crontab状态并启动
service crond status
service crond start
五、查看结果
赏
使用支付宝打赏
使用微信打赏
欢迎点击上方按钮对我打赏,谢谢你给我吃糖果