Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

If you call a shell job at the JobScheduler Agent then you can write the PID in the shell script to stdout so that you see the PID in the task log.
On a linux shell you can use "echo $$".
For Windows look for example here.

...

In the ./logs/scheduler.log of the JobScheduler Agent you find

on Linux Agent

Code Block

 \{scheduler\} fork(), execvp("/tmp/sos.C5NpSU")
 \{scheduler\} pid=4711

on Windows Agent

Code Block

 ..CreateProcess("",""C:\TEMP\sos41CE7.cmd"")
 ..pid=4711