Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2756

Re: stop hourly background job only for two hours

$
0
0

Hi

 

Without the use of scheduler I only see 2 solutions

 

1) Create a specific ABAP program that will check the date and schedule your program only if it is not Sunday between 3 to 7.

Schedule that specific ABAP program to run hourly.

 

2) Use the OS scheduler (Windows task manager or Unix Cron) to define 24 daily tasks for each hour running every day, except the tasks for 4pm to 7pm that will not run on Sunday.

Create a specific event using transaction SM64

The OS tasks will raise the created event running sapevt OS command

Create your job in SAP as an event based period job waiting for the event you have defined.

Periodic event based program reschedule itself automatically once it has run.

 

Best regards


Viewing all articles
Browse latest Browse all 2756

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>