SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
checking a file for existance

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
checking a file for existance
Author Message
seanc217



Joined: 23 May 2007
Posts: 272

Post checking a file for existance Reply with quote
Can I specify a remote file as a semaphore file for kicking off an event based job?

Thanks,

Sean
Wed Jun 06, 2007 2:02 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Reply with quote
Only indirectly… You can create a remote script or program type job that runs periodically and checks for existence of a file and then makes the scheduler trigger another job based on status of this job. The idea is to return different statuses based on the existence of the file, set exit code associated with a file existence as "success" and everything else as a "failure" or visa versa. Use job notifications for "successful job completion" to trigger another job using "run another job" action.


Another method is to create a local JavaScript job using available FTP commands to check for files on the remote server and then trigger another job or just do something else if the needed file is found.

I would suggest going with the second method as more flexible and trsnparent.
Wed Jun 06, 2007 2:17 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
Thanks for the info.

Is there an example posted somewhere here that I can use?

Thanks!!
Wed Jun 06, 2007 2:37 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.