linux 安装 crontab

1、yum install vixie-cron

yum install crontabs

2、启动与停止

service crond start

service crond stop

service crond restart

3、使用方法

1小时执行一次

vi /etc/crontab

0  */1  *  *  * curl -d "is_cron=1" http://hosts/weibo.php/Cron/auto_search_weibo_for_self

扫描二维码关注公众号,回复: 248918 查看本文章

猜你喜欢

转载自19911001.iteye.com/blog/2341019