SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
queuing jobs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
queuing jobs
Author Message
Rod Grossman



Joined: 21 Sep 2000
Posts: 1

Post queuing jobs Reply with quote

I am evaluating this product and need to know if we can get it to run a file that appears in a directory. We pass batch jobs from a VAX VMS system to a directory on an NT box and need to have the job executed on the NT box.

Thanks,
Rod Grossman

Thu Sep 21, 2000 4:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6484

Post Re: queuing jobs Reply with quote

Make a job that has a file-watch schedule (when file exists). Use file masks to specify which files to watch (for all files use *.* mask). As soon as one or more matching files found, 24x7 will run the job.

Make this job as a job having "JAL script" type. In the job script code a loop to find all matching files and run them one by one

Here is one of the possible algorithms

FileFindFirst ....
LoopWhile found...

RunAndWait found_file ...

FileDelete found_file (or FileRename or FileMove) ...

FileFindNext ....
END_LOOP:

Another way is to use the Dir statement and Loop with GetToken

Please see available job examples and templates for more ideas.

: I am evaluating this product and need to know if we can get it to run a file
: that appears in a directory. We pass batch jobs from a VAX VMS system to a
: directory on an NT box and need to have the job executed on the NT box.

: Thanks,
: Rod Grossman

Thu Sep 21, 2000 5:46 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.