1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2026-05-01 18:06:41 +08:00
This commit is contained in:
dylan
2023-08-29 08:59:36 +08:00
parent cadb76a4f7
commit b1d57e5269
2 changed files with 22 additions and 8 deletions
+1 -8
View File
@@ -5,13 +5,6 @@
### [TG频道](https://t.me/dylan_jdpro)
### 一键部署(2.11.3版本青龙)
使用root用户运行下面一串命令,仅在Centos/Ubuntu系统测试,其他系统自测
```
curl -sSL https://js.nbplay.site/https://raw.githubusercontent.com/6dylan6/jdpro/main/docker/ql1key.sh -o install.sh && bash install.sh
```
## 拉库指令
@@ -101,7 +94,7 @@ export NOTIFY_SHOWNAMETYPE="4" 效果是 : 账号名称:备注
## 互助模式使用说明
集成互助研究院taskbefore,code模块,可实现临时禁止某些CK参加所有活动或某些活动功能,实现重组CK顺序功能,包括随机、优先、轮换、组队、分段等功能
如需禁止某些CK参加所有活动或某些活动功能,实现重组CK顺序功能,包括随机、优先、轮换、组队、分段等功能,把[task_before](.docker/task_before.sh)文件内容复制到配置管理task_before.sh保存
常用变量举例:
+21
View File
@@ -0,0 +1,21 @@
"""
15 10 * * * jd_desharelcode.py
new Env('删除旧的助力码目录');
"""
#!/usr/bin/env python3
# coding: utf-8
import os
def pullfix():
print('\n删除老的助力码日志\n')
print('\n开始执行。。。\n')
if os.path.isdir('/ql/log/.ShareCode'):
os.system('rm -rf /ql/log/.ShareCode')
elif os.path.isdir('/ql/data/log/.ShareCode'):
os.system('rm -rf /ql/data/log/.ShareCode')
else:
print('已删除')
return False
pullfix()