on 01-15-2016 7:16 PM
Hi,
We have a need to setup Cronacle jobs that will control the job schedule based on what is in the SAP job log or what is returned from the SAP job log. In other words, if the job log says "not all data processed", we want to sleep for some time and then restart the job.
Any help is greatly appreciated.
Best Regards,
Rick
Hi Rick,
Which version are you running, you have either post running action to check the log or JobFileSearch (version 9, only, afaik).
In the post running action you can use RedwoodScript to search for a given string, "not all data processed", then use Thread.sleep(30000) [sleep 30 seconds] then issue jcsJob.restart();
Regards,
HP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you for your reply. We are on version 9.0.14.2. So you call a redwood script after the SAP job runs and query the string from the log. Then, sleep for some time and restart (start a new instance of the job)?
Do you have a sample of the Script?
Thanks again for your help.
Best Regards,
Rick
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.