mirror of
https://github.com/0-8-4/miui-auto-tasks.git
synced 2024-11-21 22:58:06 +00:00
为青龙面板进一步适配 (#148)
* 添加 青龙面板 相关参数文件头 清理部分信息 添加青龙面板任务参数文件头 * 添加 青龙面板 环境配置相关任务文件
This commit is contained in:
parent
fbddab8f00
commit
a3924486b8
12
firstrun.sh
Normal file
12
firstrun.sh
Normal 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 中配置参数"
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user