为青龙面板进一步适配 (#148)

* 添加 青龙面板 相关参数文件头

清理部分信息
添加青龙面板任务参数文件头

* 添加 青龙面板 环境配置相关任务文件
This commit is contained in:
PianCat 2023-11-14 11:04:05 +08:00 committed by GitHub
parent fbddab8f00
commit a3924486b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 5 deletions

12
firstrun.sh Normal file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
# new Env("MIUI-Auto-Task 环境配置")
# cron 0 0 1 * * firstrun.sh
echo "开始安装依赖"
pip install -i https://mirrors.aliyun.com/pypi/simple/ -r /ql/data/repo/0-8-4_miui-auto-tasks_master/requirements.txt
echo "依赖已安装完毕"
echo "开始首次执行"
task 0-8-4_miui-auto-tasks_master/miuitask.py
echo "首次执行完毕"
echo "请到 脚本管理 - 0-8-4_miui-auto-tasks_master - data - config.yml 中配置参数"

View File

@ -1,8 +1,6 @@
""" # new Env("MIUI-Auto-Task")
Date: 2023-11-13 20:29:19 # cron 30 8 * * * miuitask.py
LastEditors: Night-stars-1 nujj1042633805@gmail.com
LastEditTime: 2023-11-13 20:29:58
"""
import asyncio import asyncio
from utils.api.login import Login from utils.api.login import Login