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
|