chore: format markdown code. (#42)

* format: fix markdown

* update: fix markdown

* update: fix cron problems

* update: delete .markdownlintignore

* update

* chore: add tab -> 4 space

* chore: fix tab -> 2 in the .editorconfig
This commit is contained in:
fw_qaq
2022-11-11 01:51:54 +08:00
committed by GitHub
parent ea80136db3
commit 5701da6e5b
88 changed files with 1075 additions and 1126 deletions

View File

@ -1,7 +1,6 @@
Cron 备忘清单
===
[Cron](https://en.wikipedia.org/wiki/Cron) 最适合安排重复性任务。 可以使用关联的 at 实用程序来完成一次性任务的调度。
Crontab 格式
@ -27,7 +26,7 @@ Min Hour Day Mon Weekday
└───────────────────── 分钟 (0..59)
```
------
-------
| 字段 | 范围 | 特殊字符 |
|--------------|--------|--------------------|
@ -38,7 +37,6 @@ Min Hour Day Mon Weekday
| 星期几 | 0 - 6 | , - * ? / L # |
<!--rehype:className=show-header -->
### 示例
| Example | Description |
@ -56,7 +54,6 @@ Min Hour Day Mon Weekday
| `0 0 0 1 1 *` | 每年 1 月 1 日(每年) |
| `@reboot` | 每次重启 _(非标准)_ |
### 特殊字符串
| 特殊字符串 | 意义 |
@ -64,14 +61,13 @@ Min Hour Day Mon Weekday
| @reboot | 运行一次,在系统启动时 _非标准_ |
| @yearly | 每年运行一次“0 0 1 1 *” _非标准_ |
| @annually | (与@yearly 相同_非标准_ |
| @monthly | 每月运行一次“0 0 1 * *_非标准_ |
| @weekly | 每周运行一次“0 0 * * 0” _非标准_ |
| @daily | 每天运行一次“0 0 * * *” _非标准_ |
| @monthly | 每月运行一次“0 0 1 \* \*” _非标准_ |
| @weekly | 每周运行一次“0 0 \* \* 0” _非标准_ |
| @daily | 每天运行一次“0 0 \* \* \*” _非标准_ |
| @midnight | (与@daily 相同_非标准_ |
| @hourly | 每小时运行一次“0 * * * *_非标准_ |
| @hourly | 每小时运行一次“0 \* \* \* \*_非标准_ |
<!--rehype:className=show-header -->
### Crontab 命令
| - | - |
@ -82,7 +78,6 @@ Min Hour Day Mon Weekday
| `crontab -v` | 显示您上次编辑 crontab 文件的时间。 _非标准_ |
| `echo "@reboot echo hi" | crontab` | 轻松添加任务 |
### 特殊字符
<!--rehype:wrap-class=col-span-2-->
@ -97,9 +92,8 @@ Min Hour Day Mon Weekday
`问号(?)` | 可以代替“*”并允许用于月份和星期几。使用仅限于 cron 表达式中的 `月份中的某天``星期几`
<!--rehype:className=show-header auto-wrap-->
## Also see
* [Devhints](https://devhints.io/cron) _(devhints.io)_
* [Crontab Generator](https://crontab-generator.org/) _(crontab-generator.org)_
* [Crontab guru](https://crontab.guru/) _(crontab.guru)_
* [Crontab guru](https://crontab.guru/) _(crontab.guru)_