- This feature has been fully implemented on the Universal Agent and It has been implemented for classic JobScheduler Agents (JS-1420).
Should job scripts not be able to catch signals by traps then you can use a monitor script, i.e. a post-processing script, that would be called by JobScheduler on receipt of a SIGTERM signal (JS-1463). For example:
Code Block language xml title Workaround for shell jobs with a timeout
Example Title .....
Download the Example
This example contains a job that uses a SIGTERM trap to show the difference between the
<terminate_task> commands provided by JOC.