Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1551

JobScheduler Agent maintains a list of running tasks

    XMLWordPrintable

    Details

      Description

      Implementation

      • 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:
          "${SCHEDULER_HOME}/bin/jobscheduler_agent_kill_task.sh|.cmd" -kill-agent-task-id=<Agent Task ID>
          
        • Parameters
          • Agent Task ID
        • Example
          "${SCHEDULER_HOME}/bin/jobscheduler_agent_kill_task.sh" -kill-agent-task-id=123456781
          
      • 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 (JS-1552)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jz Joacim Zschimmer
                Reporter:
                vg Victor Garcia-Beltran (Inactive)
                Approver:
                Victor Garcia-Beltran (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: