如何在 Jenkins 中每 3 小时安排一次工作

Fah*_*zil 5 cron jenkins

如何安排 Jenkins 作业在每天的0900小时和小时之间每 3 小时运行一次?2100

我试过:

0 9-21/3 * *
Run Code Online (Sandbox Code Playgroud)

但它给了我一个错误:

Invalid input: "0 9-21/3 * *": line 1:13: expecting space, found 'null'"
Run Code Online (Sandbox Code Playgroud)

小智 3

这样做应该有效。 0 9-21/3 * * *

但为了避免错误以及有关“均匀分布负载”的警告,请使用此方法。 H 09-12/3 * * *