scheduled job problem with Parameterized Scheduler Plugin

时间:2019-04-16 22:06:09

标签: jenkins

I need to schedule a job with parameters with the Parameterized Scheduler plugin which runs every day at 1pm I try to plan it but without success I have not found the correct cron

13 * * * * % Environment=DV46 13 * * * * % Environment=MT22

1 个答案:

答案 0 :(得分:0)

Here,您有cron文档。

因此,如果您想每天13:00开始工作,就必须使用:

0 13 * * *

但是似乎有一个限制。当您将其定义为

0 13 * * * % Environment=DV46
0 13 * * * % Environment=MT22

将仅执行第一个。

所以我建议您从13:01开始第二个:

0 13 * * * % Environment=DV46
1 13 * * * % Environment=MT22