Update crontab_list.sh

This commit is contained in:
Akira
2020-11-17 11:02:18 +08:00
committed by GitHub
parent 5e436d5904
commit 816f7a1575

View File

@ -1,6 +1,7 @@
0 */1 * * * git -C /scripts/ pull >> /scripts/logs/pull.log 2>&1
2 */1 * * * crontab /scripts/docker/${CRONTAB_LIST_FILE}
3 */1 * * * npm install --prefix /scripts >> /scripts/logs/npm_install.log 2>&1
4 */1 * * * npm install request --prefix /tmp >> /scripts/logs/npm_install_request.log 2>&1
# 每3天的23:50分清理一次日志
50 23 */3 * * rm -rf /scripts/logs/*.log
@ -44,7 +45,7 @@
# 取关京东店铺商品
55 23 * * * node /scripts/jd_unsubscribe.js >> /scripts/logs/jd_unsubscribe.log 2>&1
# 京豆变动通知
0 2 * * * node /scripts/jd_bean_change.js >> /scripts/logs/jd_bean_change.log 2>&1
0 10 * * * node /scripts/jd_bean_change.js >> /scripts/logs/jd_bean_change.log 2>&1
# 京东抽奖机
11 1 * * * node /scripts/jd_lotteryMachine.js >> /scripts/logs/jd_lotteryMachine.log 2>&1
# 京东排行榜