Cron 定时表达式生成器
生成 five-field cron 表达式,并用易读说明检查重复任务的时间设置。
只在浏览器里处理输入的内容不会发送到服务器。
输入与结果
输入的内容只存在这个浏览器。重新打开可以还原上次的操作。
使用场景
- 生成 five-field cron 表达式,并用易读说明检查重复任务的时间设置。
- 以浏览器本地方式处理输入,并在复制前检查结果。
- 结合 Cron 定时表达式生成器 和相关工具缩短工作流。
示例
- 常见输入
*/15 * * * *- 用此示例检查 Cron 定时表达式生成器 的输入流程。
- 典型输出
0 9 * * 1-5- 复制前用于确认结果格式和后续检查点。
- 附加示例
30 8 1 * *- 复制前用于确认结果格式和后续检查点。
- 附加示例
*/5 * * * *- 复制前用于确认结果格式和后续检查点。
- 附加示例
0 0 * * 0- 复制前用于确认结果格式和后续检查点。
常见错误
- 生成 five-field cron 表达式,并用易读说明检查重复任务的时间设置。
- 如果浏览器本地处理方式和真实输入结构不一致, 输出不能直接信任。
- 复制的值中如果混入生产密钥、客户数据或内部 URL, 分享前必须移除。
复制前确认
- 1再次比较原始输入和输出形态。
- 2确认目标运行时、编码、时区和安全策略差异。
- 3继续用相关工具检查 Cron 定时表达式生成器 的结果是否适合下一步。
参考资料
Day-of-month with day-of-week is OR, not AND
POSIX crontab specifies that when neither the third field (day of month) nor the fifth (day of week) is a wildcard, the job runs if either matches. 0 0 13 * 5 means the 13th or any Friday, not Friday the 13th.
依据:IEEE Std 1003.1 crontab
Five fields, starting at minutes
POSIX defines minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-6). Six- and seven-field forms with seconds are a scheduler extension such as Quartz, and crontab rejects them.
依据:IEEE Std 1003.1 crontab
Sunday is 0; accepting 7 is an extension
POSIX gives the day-of-week range as 0-6 with 0 meaning Sunday. Also treating 7 as Sunday is an implementation extension documented in Linux crontab(5), so a line relying on it can silently stop firing elsewhere.
依据:crontab(5)
常见问题
Cron 定时表达式生成器 的输入在哪里处理?
可行的处理会在浏览器中执行,但不要输入生产密钥或客户数据。
结果可以直接用于生产吗?
复制前请再次确认运行环境、编码、时区和安全策略等环境差异。