Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] time of day policy
- Date: Fri, 20 Jun 2025 13:09:47 +0200 (CEST)
- From: "Beyer, Christoph" <christoph.beyer@xxxxxxx>
- Subject: [HTCondor-users] time of day policy
Hi,
I have a question :)
I am looking for a smart solution to not only not start jobs in a certain time span on a host but also I do not want to start jobs earlier that come with a runtime intruding in the idle period of the machine.
I have a suspicion that the clockmin/clockday policy would be a good way to implement it but not sure. For now I inherited the example from the manual:
WorkHours = ( (ClockMin >= 480 && ClockMin < 1020) && (ClockDay > 0 && ClockDay < 6) )
AfterHours = ( (ClockMin < 480 || ClockMin >= 1020) || (ClockDay == 0 || ClockDay == 6) )
START = $(START) && $(AfterHours)
MachineBusy = $(WorkHours)
Does that automatically respect the request_runtime of the jobs because it may tinker with the uptime value of the host ?
Best
christoph
--
Christoph Beyer
DESY Hamburg
IT-Department
Notkestr. 85
Building 02b, Room 009
22607 Hamburg
phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx