SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Job Logs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Job Logs
Author Message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post Job Logs Reply with quote

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

Thu May 09, 2002 4:32 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Job Logs Reply with quote

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

Thu May 09, 2002 8:34 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.