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
posted @ 2017-07-24 09:46  amoyzhu  阅读(279)  评论(0编辑  收藏  举报