Guys (and gals),
I need to work out the best way to update Scheduler jobs, as the database used is sometimes late in being available.
Ideally, I need to check for the DB at a certain time and then every 1/4 hr or so if not there, either letting the jobs run or moving them back a 1/4.
At present, I just do the first test, and shell out to start the scheduler if the DB is back. I now need to extend the test to deal with 'lateness'
Would you recommend scripting the postponement of every job by 15 minutes using calls to CognosBatcher or is it best to update the .mdb file direct?
I realize that once I start changing times with the Batcher, I'm gonna have to reset all the times after. Looking at the mdb, the advantage may be just changing the NextExecTime and relying on the Batcher to reset it on RunAtTime the next day.
Thoughts and Views, please!
I need to work out the best way to update Scheduler jobs, as the database used is sometimes late in being available.
Ideally, I need to check for the DB at a certain time and then every 1/4 hr or so if not there, either letting the jobs run or moving them back a 1/4.
At present, I just do the first test, and shell out to start the scheduler if the DB is back. I now need to extend the test to deal with 'lateness'
Would you recommend scripting the postponement of every job by 15 minutes using calls to CognosBatcher or is it best to update the .mdb file direct?
I realize that once I start changing times with the Batcher, I'm gonna have to reset all the times after. Looking at the mdb, the advantage may be just changing the NextExecTime and relying on the Batcher to reset it on RunAtTime the next day.
Thoughts and Views, please!