SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
looking for semaphore file on a remote system

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
looking for semaphore file on a remote system
Author Message
tom balabanov



Joined: 08 Mar 2000
Posts: 8

Post looking for semaphore file on a remote system Reply with quote

I want to have a job startup when I have a file present on a remote system. The semaphore watch seems only to work for the scheduler system.
Is there some way of doing this without it getting messy?

Wed Mar 08, 2000 7:02 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: looking for semaphore file on a remote system Reply with quote

Options:
1. Install 24x7 remote agent on the "remote system". Build a job of "24x7 script" type that runs let's say every 10 minutes and checks the file on the remote agent's computer using RemoteDir statement.

Example:
Dim( file_list, string )
Dim( pos, number )

RemoteDir( "agent name here", "*.*", file_list )
Pos( file_list, "you file name here", pos )
// if pos > 0 then start the main job
IfThen( pos, RUN_JOB )
Exit

RUN_JOB:
JobRun( "main job name here" )

2. Can you use FTP to access your "remote system"? If yes, build a script like the following:
Dim( found, boolean )
FTPFileExists( "you file name here", found )

// if found then start the main job
IfThen( found, RUN_JOB )
Exit

RUN_JOB:
JobRun( "main job name here" )

: I want to have a job startup when I have a file present on a remote system.
: The semaphore watch seems only to work for the scheduler system.
: Is there some way of doing this without it getting messy?

Wed Mar 08, 2000 10:54 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.