| | | | | ┌── day of week (0 - 6, sunday=0) OR sun,mon ...
| | | | | |
* * * * * * command
复制代码
SYMBOLMEANINGEXAMPLEEQUIVALENT*Any value / 任意值* * * *Every minute-Range of values / 数值范围1-10 * * *Minutes 1 through 10,List of values / 数值列表1,10 * * *At minutes 1 and 10/Step values / 步长值*/10 * * *Every 10 minutes@yearlyOnce every year at midnight of 1 January / 每年一次,在 1 月 1 日半夜@yearly0 0 1 1 *@annuallySame as @yearly / 同 @yearly@annually0 0 1 1 *@monthlyOnce a month at midnight on the first day / 每月一次,在每月的第一天半夜@monthly0 0 1 * *@weeklyOnce a week at midnight on Sunday morning / 每周一次,在周日凌晨@weekly0 0 * * 0@dailyOnce a day at midnight / 天天一次,半夜时@daily0 0 * * *@midnightSame as @daily / 同 @daily@midnight0 0 * * *@hourlyOnce an hour at the beginning of the hour / 每小时一次,小时开始时@hourly0 * * * *@rebootRun at startup / 体系启动时运行 三. 使用 Crontab