SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
isTaskRunning on remote server question

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
isTaskRunning on remote server question
Author Message
Allen Kass



Joined: 04 Feb 2003
Posts: 5

Post isTaskRunning on remote server question Reply with quote

Our master scheduler runs on a Windows 2000 Server.
We want to use isTaskRunning on a remote machine to verify that a particular program is still running. That remote machine is Windows 2003 Server. When the script is executed the results are for the local machine, not the remote system. Both machines are running 3.4.13 and the remote machine is running the in agent mode as an executable not a service.
Any thoughts?

Thanks,
Allen

Thu Nov 20, 2003 12:21 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: isTaskRunning on remote server question Reply with quote

Here is how

Create 2 jobs of JAL script type.

Job A:
Dim GLOBAL.TaskStatus, boolean
IsTaskRunning "name here", GLOBAL.TaskStatus

Job B:
Dim RemoteTaskStatus, bolean
JobRemoteRun "Job A", "agent name here"
GetRemoteVariable "agent name here", "GLOBAL.TaskStatus", RemoteTaskStatus

Job A is a helper job that needs no schedule. It is sole purpose is to be run dynamically from other jobs. Do not disable this job just set its schedule to [no schedule].

: Our master scheduler runs on a Windows 2000 Server.
: We want to use isTaskRunning on a remote machine to verify that a particular
: program is still running. That remote machine is Windows 2003 Server. When
: the script is executed the results are for the local machine, not the
: remote system. Both machines are running 3.4.13 and the remote machine is
: running the in agent mode as an executable not a service.
: Any thoughts?

: Thanks,
: Allen

Thu Nov 20, 2003 12:51 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.