Director - use function for timebased threshold

Here is the example I came up with. Not exactly what I have used at the customer but similar to the one in the docs.

First I created a wrapper command timedependent-load which imports load.

Then I could override the arguments with a bit of DSL.

Afterwards simply create a service that uses the command and if not already existing you need to create the timeperiod.

1 Like