增加git_diy脚本,支持自定义拉取仓库

This commit is contained in:
whyour
2021-03-20 00:13:43 +08:00
parent 6ad50be6fb
commit 602e2775f7
14 changed files with 579 additions and 104 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ ForOtherJoy6=""
## 具体填法及要求详见本文件最下方“互助码填法示例”
## 京喜农场助力码为 JSON 格式因此使用单引号,json 格式如下
## {"smp":"22bdadsfaadsfadse8a","active":"jdnc_1_btorange210113_2","joinnum":"1"}
## 助力码获取可以通过 bash jd.sh jd_get_share_code now 命令获取
## 助力码获取可以通过 bash jd jd_get_share_code now 命令获取
## 注意:京喜农场 种植种子发生变化的时候,互助码也会变!!
MyJxnc1=''
MyJxnc2=''
+2 -1
View File
@@ -1,5 +1,6 @@
# 更新lxk0301大佬的js脚本,添加随机cron,日志为log/git_pull.log,每天只更新两次
# 更新你需要的仓库的代码
55 2,13 * * * bash git_pull >> ${JD_DIR}/log/git_pull.log 2>&1
30 * * * * bash diy i-chenzhe qx >> ${JD_DIR}/log/diy_pull.log 2>&1
# 删除 RmLogDaysAgo 指定天数以前的旧日志,本行为不记录日志
57 13 * * * bash rm_log >/dev/null 2>&1