All Projects → whyour → qinglong

whyour / qinglong

Licence: Apache-2.0 license
支持python3、javaScript、shell、typescript 的定时任务管理面板(A timed task management panel that supports typescript, javaScript, python3, and shell)

Programming Languages

typescript
32286 projects
shell
77523 projects
Less
1899 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to qinglong

Cron Manager
A PHP cron task manager for MVC-type applications
Stars: ✭ 396 (-94.3%)
Mutual labels:  crontab, task-manager
gronx
Lightweight, fast and dependency-free Cron expression parser (due checker), task scheduler and/or daemon for Golang (tested on v1.13 and above) and standalone usage
Stars: ✭ 206 (-97.03%)
Mutual labels:  crontab, task-manager
crontab
在弹层界面中组合成crontab表达式,然后实时解析最近5条满足条件的时间(结果),整体可当做VUE组件使用,也可将解析方法单独拎出来。
Stars: ✭ 56 (-99.19%)
Mutual labels:  crontab
obsidian-tasks
Task management for the Obsidian knowledge base.
Stars: ✭ 648 (-90.67%)
Mutual labels:  task-manager
Nickel
Micro tasks manager written in pure Python
Stars: ✭ 18 (-99.74%)
Mutual labels:  task-manager
plugin-task
Integrates a simple task management tool into your wiki.
Stars: ✭ 14 (-99.8%)
Mutual labels:  task-manager
Automation-using-Shell-Scripts
Development Automation using Shell Scripting.
Stars: ✭ 41 (-99.41%)
Mutual labels:  crontab
watchman
📆 更夫(watchman)是一款可视化的定时任务配置 Web 工具,麻麻不用担心我漏掉任何更新啦!
Stars: ✭ 40 (-99.42%)
Mutual labels:  crontab
croncal
Utility to convert a crontab file to a list of actual events within a date range.
Stars: ✭ 37 (-99.47%)
Mutual labels:  crontab
corona-kakao-bot
🤖 카카오톡 코로나 알리미
Stars: ✭ 17 (-99.76%)
Mutual labels:  crontab
commit-bot
Automatically generates GitHub activity
Stars: ✭ 65 (-99.06%)
Mutual labels:  crontab
TaskManager
A C++14 Task Manager / Scheduler
Stars: ✭ 81 (-98.83%)
Mutual labels:  task-manager
toodoux
A task manager based on taskwarrior
Stars: ✭ 48 (-99.31%)
Mutual labels:  task-manager
crontab
cron expression parser and executor for dotnet core.
Stars: ✭ 13 (-99.81%)
Mutual labels:  crontab
student-work
基于 Laravel5 开发的学生处任务发布监控系统
Stars: ✭ 22 (-99.68%)
Mutual labels:  task-manager
lunatask
All-in-one encrypted to-do list, notebook, habit and mood tracker, pomodoro timer, and journaling app
Stars: ✭ 35 (-99.5%)
Mutual labels:  task-manager
lnmp-docker
Docker for LNMP ( Alpine Linux + PHP7 + Nginx+ Supervisor + Crontab ) 开发环境镜像
Stars: ✭ 23 (-99.67%)
Mutual labels:  crontab
slated-obsidian
Task management in Obsidian.md
Stars: ✭ 123 (-98.23%)
Mutual labels:  task-manager
Taskly
Flutter app to manage tasks.
Stars: ✭ 126 (-98.19%)
Mutual labels:  task-manager
PySiQ
A Python Simple Queue system for your apps
Stars: ✭ 23 (-99.67%)
Mutual labels:  task-manager

青龙

支持python3、javaScript、shell、typescript 的定时任务管理面板

docker version docker pulls docker stars docker image size

简体中文 | English

功能

  • 支持多种脚本语言(python3、javaScript、shell、typescript)
  • 支持在线管理脚本、环境变量、配置文件
  • 支持在线查看任务日志
  • 支持秒级任务设置
  • 支持系统级通知
  • 支持暗黑模式
  • 支持手机端操作

部署

本机部署

# 待完善

podman 部署

  1. podman 安装
https://podman.io/getting-started/installation
  1. 启动容器
podman run -dit \
  --network bridge \
  -v $PWD/ql:/ql/data \
  -p 5700:5700 \
  --name qinglong \
  --hostname qinglong \
  --restart unless-stopped \
  docker.io/whyour/qinglong:latest

docker 部署

  1. docker 安装
sudo curl -sSL get.docker.com | sh
  1. 配置国内镜像源 Configure domestic mirror sources
mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": [
    "https://0b27f0a81a00f3560fbdc00ddd2f99e0.mirror.swr.myhuaweicloud.com",
    "https://ypzju6vq.mirror.aliyuncs.com",
    "https://registry.docker-cn.com",
    "http://hub-mirror.c.163.com",
    "https://docker.mirrors.ustc.edu.cn"
  ]
}
EOF
systemctl daemon-reload
systemctl restart docker
  1. 启动容器
docker run -dit \
  -v $PWD/ql:/ql/data \
  -p 5700:5700 \
  --name qinglong \
  --hostname qinglong \
  --restart unless-stopped \
  whyour/qinglong:latest

docker-compose 部署

  1. docker-compose 安装
sudo curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
  1. 启动容器
mkdir qinglong
wget https://raw.githubusercontent.com/whyour/qinglong/master/docker/docker-compose.yml

# 启动
docker-compose up -d
# 停止
docker-compose down

使用

  1. 内置命令
# 更新并重启青龙
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                                                  

# 依次执行,如果设置了随机延迟,将随机延迟一定秒数
task <file_path>                                             
# 依次执行,无论是否设置了随机延迟,均立即运行,前台会输出日,同时记录在日志文件中
task <file_path> now                                         
# 并发执行,无论是否设置了随机延迟,均立即运行,前台不产生日,直接记录在日志文件中,且可指定账号执行
task <file_path> conc <env_name> <account_number>(可选的) 
# 指定账号执行,无论是否设置了随机延迟,均立即运行 
task <file_path> desi <env_name> <account_number>         
  1. 参数说明
  • file_url: 脚本地址
  • repo_url: 仓库地址
  • whitelist: 拉取仓库时的白名单,即就是需要拉取的脚本的路径包含的字符串
  • blacklist: 拉取仓库时的黑名单,即就是需要拉取的脚本的路径不包含的字符串
  • dependence: 拉取仓库需要的依赖文件,会直接从仓库拷贝到scripts下的仓库目录,不受黑名单影响
  • branch: 拉取仓库的分支
  • extensions: 拉取仓库的文件后缀
  • days: 需要保留的日志的天数
  • file_path: 任务执行时的文件路径
  • env_name: 任务执行时需要并发或者指定时的环境变量名称
  • account_number: 任务执行时指定某个环境变量需要执行的账号序号

链接

开发

$ git clone [email protected]:whyour/qinglong.git
$ cd qinglong
$ cp .env.example .env
# 推荐使用 pnpm https://pnpm.io/zh/installation
$ npm install -g pnpm
$ pnpm install
$ pnpm start

打开你的浏览器,访问 http://127.0.0.1:5700

交流

telegram频道

名称来源

青龙,又名苍龙,在中国传统文化中是四象之一、天之四灵之一,根据五行学说,它是代表东方的灵兽,为青色的龙,五行属木,代表的季节是春季,八卦主震。苍龙与应龙一样,都是身具羽翼。《张果星宗》称“又有辅翼,方为真龙”。

《后汉书·律历志下》记载:日周于天,一寒一暑,四时备成,万物毕改,摄提迁次,青龙移辰,谓之岁。

在中国二十八宿中,青龙是东方七宿(角、亢、氐、房、心、尾、箕)的总称。 在早期星宿信仰中,祂是最尊贵的天神。 但被道教信仰吸纳入其神系后,神格大跌,道教将其称为“孟章”,在不同的道经中有“帝君”、“圣将”、“神将”和“捕鬼将”等称呼,与白虎监兵神君一起,是道教的护卫天神。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].