I want to describe the build trigger settings across the moon in Jenkins

Asked 2 years ago, Updated 2 years ago, 83 views

I'd like to set up automatic batch execution in jenkins.

example configuration

 Run Friday, March 31 at 22:00 
Run Saturday, April 1 at 02:00

You can ignore the day of the week.

If I cross the moon like above, how should I write it?

Reference Site
Summary of Jenkins build trigger (periodic) settings - Qiita

Thank you for your cooperation.

jenkins

2022-09-29 22:08

1 Answers

Why don't you use two lines?

#3/31 22:00
0 22 31 3 *

# 4/1 2:00
0 2 1 4 *


2022-09-29 22:08

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.