I want to automatically kill the jobs in job controller, if it is waiting/pending state for more than 24 hours.
I am aware that CV having the feature and it can be enabled under control panel > Job management > Job restart (tab).
But the pain area is, we need to enable the option for 30+ job types by individually.
Do we any mechanism (workflow/qcommend) to enable the “Total Running Time” alone for all the job types at one shot.
Best answer by Hemant Mishra
Thanks for your response and applied the value, but it haven’t killing the jobs as now.
I assume, the values are in sec and I entered 21600 (6 hours). Do I want to consider any other factors?
The configured value is in minutes. So please fix the value accordingly. Also we need to restart Jobmanager service after making this configuration change.