UID850314
性别保密
经验 EP
铁粒 粒
回帖0
主题
精华
在线时间 小时
注册时间2023-1-20
最后登录1970-1-1
|
XiAutoTask
昔年的定时任务插件其一
指定时间点(支持通配符)执行指令
|
| 效果图:
配置文件:
- # [XiAutoTask] [定时任务] 配置文件
- # 版本:1.0.3
- # 日期格式:yyyy-MM-dd HH:mm:ss
- # 使用通配符 * 来匹配多个日期
- # 作者: 黑心老昔年
- tasks:
- # 在指定时间执行指定命令的格式如下
- #example-task为任务名,可自定义
- example-task:
- time: '2024-02-21 19:49:40'
- commands:
- - 'say 插件测试'
- # 每日任务示例
- example-daily-task:
- time: '****-**-** 08:00:00'
- commands:
- - 'say hello world'
- # 每月任务示例
- example-monthly-task:
- time: '****-**-01 08:00:00'
- commands:
- - 'say hello world'
复制代码
指令:
xiautotask reload - 重载插件 - xiautotask.all
xiautotask help - 帮助 - xiautotask.all |
|
评分
-
查看全部评分
|