mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-06 14:52:50 +08:00
Auto-Generate docs 🤖
This commit is contained in:
@@ -142,5 +142,27 @@ title: 定时任务配置格式
|
|||||||
|
|
||||||
有想法增加一个参数来决定法定工作日,法定节假日执行。
|
有想法增加一个参数来决定法定工作日,法定节假日执行。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 评论 4 - hanxi
|
||||||
|
|
||||||
|
计划这样配工作日或者休息日,末尾加上 ` #workday` 表示工作日才执行,末尾加上 ` #offday` 表示休息日才执行。
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"expression": "0 8 * * * #workday",
|
||||||
|
"name": "play",
|
||||||
|
"did": "123456789",
|
||||||
|
"arg1": "周杰伦晴天"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expression": "0 10 * * * #offday",
|
||||||
|
"name": "play",
|
||||||
|
"did": "123456789",
|
||||||
|
"arg1": "周杰伦晴天"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/182)
|
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/182)
|
||||||
|
|||||||
Reference in New Issue
Block a user