jenkins定时

分别的定义为:分 时 天 月 星期

Minutes within the hour (0–59)

HOUR       Thehour of the day (0–23)

DOM         Theday of the month (1–31)

MONTH   Themonth (1–12)

DOW         Theday of the week (0–7) where 0 and 7 are Sunday.

*  表示全部

 

H 19 * * *     表示:   每天的19点运行一次  

H/10 * * * *     表示:   每10分钟运行一次

20 * * * *         表示:   每个小时的第 20 分钟运行一次。不用理会警告

41 1 * * *        表示:   每天的1:41运行一次。不用理会警告

10 2,3 * * *     表示:   每天的2:10和3:10运行一次。不用理会警告

H */2 * * *       表示:   每两个小时运行一次

# every fifteen minutes (perhaps at :07, :22, :37, :52)
H/15 * * * *
# every ten minutes in the first half of every hour (three times, perhaps at :04, :14, :24)
H(0-29)/10 * * * *
# once every two hours at 45 minutes past the hour starting at 9:45 AM and finishing at 3:45 PM every weekday.
45 9-16/2 * * 1-5
# once in every two hours slot between 9 AM and 5 PM every weekday (perhaps at 10:38 AM, 12:38 PM, 2:38 PM, 4:38 PM)
H H(9-16)/2 * * 1-5
# once a day on the 1st and 15th of every month except December

转载于:https://www.cnblogs.com/amoyzhu/p/7227351.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值