SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Semaphore Files and Dependencies

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Semaphore Files and Dependencies
Author Message
Marc



Joined: 26 Aug 2003
Posts: 13

Post Semaphore Files and Dependencies Reply with quote

I'm new with 24x7 and I have a few questions.

1. I have 4 jobs dependent on each other.(one after the other) Each job creates a semaphore file when finished which kicks off the next job. My question is this. Sometimes the 2nd job will need to be rerun. Is there a way I can rerun just job 2 so it does not kick off the next 2 jobs?

2. I need to run two separate jobs using the same file, using the "when files exist" method. If I don't move or rename the files, the jobs start over because the files still exists. If I rename the file after the first job is done, it messes up the other job because it hasn't finished and the files have been renamed (Or moved). Any suggestions.

3. In one situation, when the file exist, the job starts. When if finishes, I want to move the file and rename it. I can't same to rename it to something other than the 24x7 option, the rename section is greyed out. Is there anyway around this?

Thanks for your help.

Tue Aug 26, 2003 8:48 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: Semaphore Files and Dependencies Reply with quote

1. Do not use file dependencies in that case.
Simply create a script job like with script like
JobRun "job 1 name"
JobRun "job 2 name"
JobRun "job 3 name"
JobRun "job 4 name"

This will be a consolidating job that will run the entire job stream. Then if you need to re-run any particular job you can do it at any time.

Alternatively you can create a program type job to run a DOS batch file like
24x7.exe /JOB "job 1 name here"
24x7.exe /JOB "job 2 name here"
24x7.exe /JOB "job 3 name here"
24x7.exe /JOB "job 4 name here"

2. Same idea as in 1. Create another job that will run job 1 and job 2 and only then rename or move the file.
Or simply consolidate 2 jobs together and make 1 job out of them.

3. Use "run script" notification action to put a script which will rename and move the file the way you want it.
If you are more comfortable with batch files you can use "run program" action to do this using a batch file or any other program of your choice.

: I'm new with 24x7 and I have a few questions.

: 1. I have 4 jobs dependent on each other.(one after the other) Each job
: creates a semaphore file when finished which kicks off the next job. My
: question is this. Sometimes the 2nd job will need to be rerun. Is there a
: way I can rerun just job 2 so it does not kick off the next 2 jobs?

: 2. I need to run two separate jobs using the same file, using the "when
: files exist" method. If I don't move or rename the files, the jobs
: start over because the files still exists. If I rename the file after the
: first job is done, it messes up the other job because it hasn't finished
: and the files have been renamed (Or moved). Any suggestions.

: 3. In one situation, when the file exist, the job starts. When if finishes, I
: want to move the file and rename it. I can't same to rename it to
: something other than the 24x7 option, the rename section is greyed out. Is
: there anyway around this?

: Thanks for your help.

Tue Aug 26, 2003 10:26 am 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.