您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

如何在周日每周运行crontab作业

如何在周日每周运行crontab作业

这是crontab格式的说明。

# 1. Entry: Minute when the process will be started [0-60]
# 2. Entry: Hour when the process will be started [0-23]
# 3. Entry: Day of the month when the process will be started [1-28/29/30/31]
# 4. Entry: Month of the year when the process will be started [1-12]
# 5. Entry: Weekday when the process will be started [0-6] [0 is Sunday]
#
# all x min = */x

因此,据此,您5 8 * * 0将在每个星期日8:05运行。

其他 2022/1/1 18:17:59 有465人围观

撰写回答


你尚未登录,登录后可以

和开发者交流问题的细节

关注并接收问题和回答的更新提醒

参与内容的编辑和改进,让解决方法与时俱进

请先登录

推荐问题


联系我
置顶