Simplified Chinese | English
Scheduled task management platform that supports Python3, JavaScript, Shell, and Typescript
Timed task management platform supporting Python3, JavaScript, Shell, Typescript
Demo / Issues / Telegram Channel / Buy Me a Coffee
Demo/Feedback/Telegram channel/Tip developers
The latest
image is built based on alpine
, and the debian
image is built based on debian-slim
. If you need to use dependencies that are not supported by alpine
, it is recommended to use the debian
image.
docker pull whyour/qinglong:latest
docker pull whyour/qinglong:debian
The npm version supports debian/ubuntu/alpine
systems. You need to install node/npm/python3/pip3/pnpm
yourself.
npm i @whyour/qinglong
# curl -sSL get.docker.com | sh
docker run -dit
-v $PWD /ql/data:/ql/data
# 冒号后面的 5700 为默认端口,如果设置了 QlPort, 需要跟 QlPort 保持一致
-p 5700:5700
# 部署路径非必须,比如 /test
-e QlBaseUrl= " / "
# 部署端口非必须,当使用 host 模式时,可以设置服务启动后的端口,默认 5700
-e QlPort= " 5700 "
--name qinglong
--hostname qinglong
--restart unless-stopped
whyour/qinglong:latest
To install the Pagoda Panel, go to the Pagoda Panel official website and select the official version of the script to download and install.
After installation, log in to the Pagoda panel and click Docker
in the menu bar. When entering for the first time, you will be prompted to install the Docker
service. Click Install Now and follow the prompts to complete the installation.
After the installation is completed, find青龙面板
in the app store, click Install, configure the domain name and other basic information to complete the installation.
# curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
mkdir qinglong && cd $_
wget https://raw.githubusercontent.com/whyour/qinglong/master/docker/docker-compose.yml
# 启动
docker-compose up -d
# 停止
docker-compose down
# https://podman.io/getting-started/installation
podman run -dit
--network bridge
-v $PWD /ql/data:/ql/data
# 冒号后面的 5700 为默认端口,如果设置了 QlPort, 需要跟 QlPort 保持一致
-p 5700:5700
# 部署路径非必须,比如 /test
-e QlBaseUrl= " / "
# 部署端口非必须,当使用 host 模式时,可以设置服务启动后的端口,默认 5700
-e QlPort= " 5700 "
--name qinglong
--hostname qinglong
docker.io/whyour/qinglong:latest
It is recommended to use a clean system for installation to avoid losing the original data of the system. You need to install node/npm/python3/pip3/pnpm yourself.
# Debian/Ubuntu
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
npm install -g node-pre-gyp [email protected]
npm install -g @whyour/qinglong
qinglong
# 根据提示增加环境变量 QL_DIR 和 QL_DATA_DIR,QL_DATA_DIR 必须以 /data 结尾
export QL_DIR= " "
export QL_DATA_DIR= " "
# 再次执行
qinglong
# 依次执行,如果设置了随机延迟,将随机延迟一定秒数
task < file_path >
# 依次执行,无论是否设置了随机延迟,均立即运行,前台会输出日,同时记录在日志文件中
task < file_path > now
# 并发执行,无论是否设置了随机延迟,均立即运行,前台不产生日,直接记录在日志文件中,且可指定账号执行
task < file_path > conc < env_name > < account_number >(可选的)
# 指定账号执行,无论是否设置了随机延迟,均立即运行
task < file_path > desi < env_name > < account_number >
# 设置任务超时时间
task -m < max_time > < file_path >
# 使用 -- 分割,-- 后面的参数会传给脚本,下面的例子,脚本就可接收到参数 -u whyour -p password
task < file_path > -- -u whyour -p password
# 更新并重启青龙
ql update
# 运行自定义脚本extra.sh
ql extra
# 添加单个脚本文件
ql raw < file_url >
# 添加单个仓库的指定脚本
ql repo < repo_url > < whitelist > < blacklist > < dependence > < branch > < extensions >
# 删除旧日志
ql rmlog < days >
# 启动tg-bot
ql bot
# 检测青龙环境并修复
ql check
# 重置登录错误次数
ql resetlet
# 禁用两步登录
ql resettfa
parameter | illustrate |
---|---|
file_url | Script address |
repo_url | Warehouse address |
whitelist | The whitelist when pulling the warehouse is the string contained in the path of the script that needs to be pulled, separated by multiple vertical bars. |
blacklist | The blacklist when pulling the warehouse is a string that is not included in the path of the script that needs to be pulled, separated by multiple vertical bars. |
dependence | Pulling the dependency files required by the warehouse will be copied directly from the warehouse to the warehouse directory under scripts. It will not be affected by the blacklist and is divided by multiple vertical lines. |
extensions | Pull the file suffix of the warehouse, separated by multiple vertical lines |
branch | Pull the branch of the warehouse |
days | Number of days to keep logs |
file_path | The file path when the task is executed |
git clone https://github.com/whyour/qinglong.git
cd qinglong
cp .env.example .env
# 推荐使用 pnpm https://pnpm.io/zh/installation
npm install -g [email protected]
pnpm install
pnpm start
Open your browser and visit http://127.0.0.1:5700
Qinglong, also known as Canglong, is one of the four images and one of the four spirits of heaven in traditional Chinese culture. According to the Five Elements theory, it is a spiritual beast representing the East. It is a green dragon. The five elements belong to wood, and the season it represents is spring. , the main shock of Bagua. Canglong and Yinglong both have wings. "Zhang Guoxing Zong" said that "it has auxiliary wings, so it is a true dragon."
"Book of the Later Han·Lu Li Zhi 2" records: The sun moves around the sky, one cold and one hot, the four seasons are prepared, all things are changed, the photos are taken, the promotion is moved, and the green dragon moves the Chen, which is called the year.
Among the Chinese twenty-eight constellations, Qinglong is the general name for the seven Eastern constellations (Jiao, Kang, Di, Fang, Xin, Wei, and Ji). In early star belief, he was the most noble god. However, after being absorbed into its pantheon by Taoist beliefs, his deity declined greatly. Taoism called him "Meng Zhang". In different Taoist scriptures, he has "emperor", "holy general", "god general" and "ghost catching general". " and other titles, together with the White Tiger Supervisor God, he is the guardian god of Taoism.