Hi,
A few ideas (even though some qualify as "poor man's debugging" :)
Maybe try putting something like
echo "hello world" > c:\windows\temp\test.txt
on top of the process tab and see if that file gets created when you run the job? That way, you know if your agent is executing commands at all. You could also clone the job and put just that one line in there, to make sure there are no syntax errors in the other commands that cause problems.
You can also look at the log files in the agent's temp directory to find out if the agent is executing your job on the remote machine. You could also enable tracing in the right-click agent properties (administration tab), the trace files may contain additional hints to what may be wrong.
By the way, Windows jobs in Automic may always report ENDED_OK unless you use the boiler plate code that evaluates %ERRORLEVEL%, as provided by Automic with their original job template. This is a common pitfall.
Hth
Original Message:
Sent: 06-28-2019 08:29 AM
From: Christopher Parrell
Subject: Enabling verbose logging on a job that passes commands to Windows box?
Hi,
Thanks for your response. Essentially I've got a job that passes 2 basic commands into a Windows box. The job runs successfully in UC4 but the actual results of the job indicate the commands may not be run. The reporting in UC4 (found via Statistics) don't actually indicate any of these commands being fired, exit codes, or anything similar. The job was running fine until a few months ago, but I ran a diff on the script from back then and the current one, and there are no differences.
Original Message:
Sent: 06-28-2019 02:55 AM
From: Christian Böck
Subject: Enabling verbose logging on a job that passes commands to Windows box?
Hi Carsten,
what exactly did you mean? in 12 is the context menu "open monitor" in the executions of each job and there you can see the generated jcl.