- The Agent creates a file with the name kill_tasks_after_crash_<port>(.sh|.cmd) in the logs folder with <port> being the number of the port that the Agent listens to.
- For every task running on the Agent one line is added to this file that includes a call to the kill script:
- Agent Task ID
- For every task terminating its entry is removed from the running tasks list.
- Should an Agent crash then the running tasks list will contain one line for each running task and will be executed by the Agent start script (