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

JobScheduler Universal Agent client for the command line

    XMLWordPrintable

Details

    Description

      An Agent client to control the JobScheduler Universal Agent via the command line. The client uses the Agent web services.

      Features:

      • Send a command
      • Show information

      Examples

      Show information
      agent-client.sh http://127.0.0.1:5000 /overview
      agent-client.sh http://127.0.0.1:5000 /processHandler
      
      Terminate Agent
      agent-client.sh http://127.0.0.1:5000 '{$TYPE: Terminate, sigtermProcesses: true}' 
      agent-client.sh http://127.0.0.1:5000 '{$TYPE: Terminate, sigtermProcesses: true}' /overview /processHandler
      

      Usage

      The first argument is the Agent URI, for example http://localhost:5000
      The following arguments are web service names (each starting with a slash) or commands (JSON or YAML).
      With no argument, the client checks wether the Agent is alive.

      The command responses are written to stdout. In case of an error, the error message is written to stdout, and detailed messages are written to stderr.

      Exit code 0 means success.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              jz Joacim Zschimmer
              Andreas Liebert Andreas Liebert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: