简体   繁体   English

Jenkins 从晚上 10 点到第二天早上 7 点每 2 小时定期构建

[英]Jenkins build periodically every 2 hours after 10 PM to next day 7AM

HH(22-7)/2 * * 1-5 ----- not working HH(22-7)/2 * * 1-5 ----- 不工作

Please let me know correct example请告诉我正确的例子

0 0,2,4,6,22 * * *

This will trigger the job at 10 PM, 12 AM, 2 AM, 4 AM and 6 AM everyday.这将在每天晚上 10 点、凌晨 12 点、凌晨 2 点、凌晨 4 点和早上 6 点触发作业。

In case you need to distribute load, you can replace the first 0 with an H .如果您需要分配负载,可以将第一个0替换为H

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM