0 12,20 * * * 表示在任何年任何月的任何天的12和20点的0分 进行构建
在Hudson中的解释是这样的:
This field follows the syntax of cron(with minor differences). Specifically, each line consists of 5fields separated by TAB or whitespace:
MINUTE HOUR DOM MONTH DOW
MINUTE | Minutes within the hour (0-59) |
HOUR | The hour of the day (0-23) |
DOM | The day of the month (1-31) |
MONTH | The month (1-12) |
DOW | The day of the week (0-7) where 0 and 7 are Sunday. |
To specify multiple values for onefield, the following operators are available. In the order ofprecedence,
Empty lines and lines that start with'#' will be ignored as comments.
In addition, '@yearly', '@annually','@monthly', '@weekly', '@daily', '@midnight', and '@hourly' aresupported.
Examples | # every minute* * * * *# every 5 mins past the hour 5 * * * * |