{{ define "system/crontab" }} {{template "common/header" }}

任务计划

系统crontab任务计划程序可让您计划并在预定的时间运行服务或脚本。
注意:如果crontab文件在编辑之前为空,则需要手动重新启动cron服务。
*	(星号)代表任何时刻都接受
,	(逗号)代表分割时段的意思
-	(减号)代表一段时间范围内
/	(斜线)代表指定时间间隔的运行频率
参考: https://www.cnblogs.com/liwei0526vip/p/4873104.html
https://www.cnblogs.com/intval/p/5763929.html
┌───────────── 分钟 (0 - 59)
│ ┌───────────── 小时 (0 - 23)
│ │ ┌───────────── 日期 (1 - 31)
│ │ │ ┌───────────── 月份 (1 - 12)
│ │ │ │ ┌───────────── 周 (0 - 6) (星期天到星期六;某些系统7也是星期天)
│ │ │ │ │
* * * * * 任务的完整命令
参考工具: https://crontab.guru/ http://corntab.com/


{{template "common/footer"}} {{ end }}