Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

How to schedule a job in such a way as it runs the last day of every month

$
0
0

HI Experts,

 

 

I needed to schedule a job today, and during implementing found and issue/interesting question and would like to ask your help on this.

 

So the situation is the following:

- i scheduled a job what will run periodically (once per month) and will responsible for Close (open) Period for Material Master Records (MMPV)

- used RMMMPERI and saved variant etc.....

 

My main question/issue is that: I wanted to schedule this job in such a way as it will run the last day of every month. Since not each month contains 31 days (for example february has just 28 days next year) so i can not enter into the date field e.g.: 31.11.2015 and set it to run periodically becuase if i think well (correct me if i am wrong) this job will not run in february 2016 since february has just 28 days.

 

Anyway i have scheduled the job to run 28. 10.2015 at 23:50 and set it to run periodically ( there is no month what contains less than 28 days) so it will run in case of month contains 30,31 or 28 days.

 

So all in all my question is:

- is there any option to schedule a job in such a way as it runs the last day of every month without reference to that how many days the month contains ?

 

Many thanks in advance,

 

Br David


Viewing all articles
Browse latest Browse all 3523

Trending Articles