I'd like to be able to select a action before the scheduler starts a timer, the result of this action would determine wether or not this timer should be started. Ofcourse this action needs to receive the same kind of inputs the timer would have, most importantly the tenantId and the sskey, so we can fetch the timer to run easily.
If no action is selected then the scheduler will just start the timer straight away.
It would be nice to have this setting per timer, but also have a default action to fall back to, so all timers can have the same logic to run.
I got this idea by thinking more about a system to let timers wait on other timers, in case of a dependency timers might have on eachother and they run on variable lengths depending on the amount of work that was done on the system that day, you might want some timers to wait for the completion of other timers.
I would also like the same for when a timer finished running, so you could implement the same type of mechanism, but instead of letting other timers wait, you can start them dynamically once the dependant timer has finished running.