文档新增东东工厂脚本心仪商品的环境变量以及说明

This commit is contained in:
lxk0301
2020-11-26 10:49:33 +08:00
parent 9a947aa8e1
commit 24a748e8ba
4 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
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
50 */1 * * * git -C /scripts/ pull >> /scripts/logs/pull.log 2>&1
52 */1 * * * crontab /scripts/docker/${CRONTAB_LIST_FILE}
53 */1 * * * npm install --prefix /scripts >> /scripts/logs/npm_install.log 2>&1
# 每3天的23:50分清理一次日志
50 23 */3 * * rm -rf /scripts/logs/*.log

View File

@@ -1,6 +1,6 @@
0 */1 * * * git -C /scripts/ pull |ts >> /scripts/logs/pull.log 2>&1
2 */1 * * * crontab /scripts/docker/${CRONTAB_LIST_FILE}
3 */1 * * * npm install --prefix /scripts |ts >> /scripts/logs/npm_install.log 2>&1
50 */1 * * * git -C /scripts/ pull |ts >> /scripts/logs/pull.log 2>&1
52 */1 * * * crontab /scripts/docker/${CRONTAB_LIST_FILE}
53 */1 * * * npm install --prefix /scripts |ts >> /scripts/logs/npm_install.log 2>&1
# 每3天的23:50分清理一次日志
50 23 */3 * * rm -rf /scripts/logs/*.log