In the script put some logic to append messages to some global variablethen from the main machine use GetRemoteVariable and write them to the local log. For more info please see GetRemoteVariable examples in the on-line help file. Another method is to write messages to a file (on the agent) then transfer the file (FileTransfer) and append it to the schedule.log To append you can use available methods or simply run cmd /b copy schedule.log + transfered.log Other options can be also used. : Hello, : I have script jobs that use the AddLogMessageEX JAL statement to create log : entries as the job executes. That works great for jobs that run local. The : problem is that for remote jobs the log entries are on the remote agent : machine and all you see on the master scheduler is Job started, agent : contacted job finished. : Is there a way to get the log messages to the master server or do I need to : create a maintenance job? : John
|