2010 Oct 01 5:22 PM
Hi guys ,
Im trying to limit an automatically repeated job to a particular time window... for example make a job to run every half hour between 00:00:00 and 12:00:00 am make a pause for one hour and then start again, I saw this documentation :
http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7fa1505211d189550000e829fbbd/frameset.htm
However it doesnt look like a easy task , or maybe it is , for that reason i want to ask you for advices to achive this task ,
thank you guys.
2010 Oct 01 6:06 PM
There are several ways you could attack it, depending on how you intend to indicate the paused or sleep period. I might create a system event and an event driven job for that event. Then, schedule a simple program that executes every half hour or so and does a few things: checks to make sure there's not an active instance of the job to be triggered, checks the current time against the 'pause' interval, then raises the system event to trigger the necessary job or just ends with no action (if in the pause interval).
Hi guys ,
Im trying to limit an automatically repeated job to a particular time window... for example make a job to run every half hour between 00:00:00 and 12:00:00 am make a pause for one hour and then start again, I saw this documentation :
http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7fa1505211d189550000e829fbbd/frameset.htm
However it doesnt look like a easy task , or maybe it is , for that reason i want to ask you for advices to achive this task ,
thank you guys.
2010 Oct 01 6:06 PM
There are several ways you could attack it, depending on how you intend to indicate the paused or sleep period. I might create a system event and an event driven job for that event. Then, schedule a simple program that executes every half hour or so and does a few things: checks to make sure there's not an active instance of the job to be triggered, checks the current time against the 'pause' interval, then raises the system event to trigger the necessary job or just ends with no action (if in the pause interval).