Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
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
|