![JAR search and dependency download from the Maven repository](/logo.png)
hudson.plugins.slave_squatter.squatters.CronSquatter.help-format.jelly Maven / Gradle / Ivy
Specifies reservations via (1) number of the executors to be reserved,
(2) the cron syntax to specify the start time of reservations, and
(3) duration of the reservation
Specifically, each line consists of 7 fields separated by TAB or whitespace:
SIZE : MINUTE HOUR DOM MONTH DOW : DURATION
SIZE
Number of executors to be reserved.
MINUTE HOUR DOM MONTH DOW
See this for the details of the cron syntax
This specifies the starting point of the reservation.
DURATION
The length of the reservation in terms of minutes.
Size can be negative, which is useful for cancelling out other reservations. For example,
you might have "2 : 0 8 * * * : 480" to indicate 8hr reservation from 8am for 2 executors,
then you can have "-1 : 0 12 * * * : 60" to indicate that from noon to 1pm, the reservation goes down to 1 executor from 2.
Examples
# during weekday 8am-5pm, free up 2 executors for interactive use
# 5pm-8am = 9hr = 540mins
2 : 0 8 * * 1-5 : 540
© 2015 - 2025 Weber Informatics LLC | Privacy Policy