on 06-30-2011 9:48 PM
Hello,
Not sure if this is the right location for this question, but we will start here.
We are trying to schedule a job that we want to run every 20 minutes from the hours of 05:00 AM until 11:00 PM. We don't want the job to run between 11:00 PM and 5:00 PM.
We are using the standard SM36 and SM37 for our batch job scheduling, but cannot figure out how to accomplish this.
Has anyone had any luck with this type of job scheduling? I would think this would be possible, but maybe it isn't in SM36.
Thanks in advance for your responses.
Dale
Hi Dale,
This is not possible. You can give a start time and frequency of execution but there can only be one final end time. There is no way to restrict it to a time period everyday.
The only way I see you can achieve this is by letting it run the whole day. Or use a third party job scheduler like Redwood.
What is the purpose for this job?
Regards,
Shitij
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have not tried this. But I think you can achieve this with the help of operation modes in SM36.
You can define 2 operation modes, one from 5 AM to 11 PM and other from 11 PM to 5 AM, so you can schedule job for first operation mode as a result when operation mode will change this job will not execute.
Thanks
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SM36/SM37 is only a basic scheduler, it is difficult or impossible to schedule jobs with complex start conditions
You can create a lot of daily jobs with a start time every 20 minutes. (it's a mess to maintain...)
or
You can do it programmatically with a specific abap program as first step.
or
Or you could buy and use CPS, the external scheduler form Redwood/SAP. It is very powerful but very complex and not easy to master....It is also expensive...
Regards,
Olivier
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.