-
Notifications
You must be signed in to change notification settings - Fork 995
/
crontab
11 lines (11 loc) · 901 Bytes
/
crontab
1
2
3
4
5
6
7
8
9
10
11
1 1 * * * ps aux|grep firefox|grep -v grep|xargs kill
1 1 * * * ps aux|grep Xvfb|grep -v grep|xargs kill
1 * * * * rm -f /var/log/wechatspider/*.log.*
40 */3 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_downloader:0
22 */2 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_downloader:1
22 */4 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_extractor:0
22 */4 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_extractor:1
22 */4 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_extractor:2
22 */4 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_extractor:3
22 */4 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_processor
22 */4 * * * /usr/bin/supervisorctl -c /etc/supervisord.conf restart wechatspider_scheduler