We run several "canary checks" on our major systems to make sure they are functional at all times and send out text messages upon failures.
A generic job could be used for each check if we could set the fixed max runtime for each system dynamically using "PUT_ATT" in the pre-processing.
There is no work-flow involved in this process so "MODIFY_TASK" won't work - plus it is way too complicated.
We simply use an event and JOBS objects, so need to set the attribute like the following:
:SET &MRT_FIXED# = GET_VAR(VARA.SANITY_CHECK,mrt_fixed_ebs,2)
:PUT_ATT RUNTIME_MRT_FIXED = &MRT_FIXED#