Is it possible to set a batch job to run on the last day of the month?
We need to have a job run on the Last day of every month at 11:30 PM.
Is this possible?
I've been looking into running a job of ours on the last day of each month and I think this is the way to do it, but you need to test it out of course. It seems to work for us but I don't know if your set up is the same as ours!! I did this for an internal job of ours not an SAP job but you must be able to apply the same method. Once you have initally scheduled the job then using SM37, you can change the job in the normal way (shift F11 for example) . (Of course you can also do this when you run the job initially and then set to run in background mode)
Click on Start Condition.
In the Start Time pop up - Click on the >> on the upper right hand side of the screen
Enter in a relevant 7 day factory calendar (I used Y3 - which is the 7 day inc BH calendar)
Enter in workday 1.
Enter in the start time - in your case 23:00:00.
Leave the default in the do not execute before field (current date)
Click Workday relative to End of Month.
Then enter how many months you want this to run for
When you then go back into this, it shows the last day of the month as the scheduled time.
Note that this is the first time I've tried this so I don't know how effective it is but I believe this will work.
I'm not a guru, just a BASIS admin relative beginner!! Hope this helps you