linux install crontab

1、yum install vixie-cron

yum install crontabs

2. Start and stop

service crond start

service crond stop

service crond restart

 

3. How to use

Execute once an hour

vi /etc/crontab

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

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326380339&siteId=291194637