Skip to content

Commit

Permalink
update newpost-58.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dr34m-cn committed Sep 3, 2024
1 parent 015dabe commit 281047e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions source/_posts/newpost-58.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,30 @@ index_img: /assets/headImg/python.png
date: 2024-08-08 17:37:07
---

## 字段

| 字段 | 意义 | 示意值/部分可选值范围/部分可用值 |
| ----------- | -------- | ---------------------------------- |
| year || 2024 |
| month || 1-12 |
| day || 1-31 |
| week || 1-53 |
| day_of_week | 周几 | 0-6 或 mon,tue,wed,thu,fri,sat,sun |
| hour || 0-23 |
| minute || 0-59 |
| second || 0-59 |
| start_date | 开始日期 | 2024-01-01 |
| end_date | 结束日期 | 2024-12-31 |

> 通常来讲,如需使用`week`/`day_of_week`,就应保持`month`/`day`为空,反之亦然;
> `year`>`month`>`day`>`hour`>`minute`>`second``year`>`week`>`day_of_week`>`hour`>`minute`>`second`
> 通常来讲,如果上边的某一项有值,则其前默认为`*`,其后默认为起始值(`0``1`)。
## 表达式

每个字段除了可以填入上边的示意值外,还可以使用表达式,如下:

| 表达式 | 适用字段 | 意义 |
| :------- | :--------------- | :-------------------------------------------- |
| `*` | 所有 | 每个值都触发 |
Expand Down

0 comments on commit 281047e

Please sign in to comment.