linux crontab定时执行任务

crontab -l
rails s -e production -p 5000 -d
*/10 * * * * curl http://localhost:5000/iqiyi/originality

*/10 * * * * curl http://localhost:5000/tx/task

在crontab -e 里面添加类似上面的语句

猜你喜欢

转载自hhg08.iteye.com/blog/2357661