on 01-08-2015 10:54 PM
Hi experts,
I am using SM36 to schedule jobs. Do you know if there is a way to not run a job for a month and start over. e.g. If a job is scheduled to run monthly for indefinite time then is there a way to stop the job not to run for the months of Dec.?
Regards,
Pankaj
I suggest two ways to get this done:
1. Create a Z factory calender and mark whole Dec as holiday and Run job based on this Factory calender as Job parameter
2. Consider "After Event" job parameter. Create an event ZABC. Code to trigger this event ZABC from your another new ZXYZ program (Schedule ZXYZ on your required schedule) when Month <> Dec using IF-ELSE construct. e.g.
if month <> Dec.
trigger_event.
else.
" Do nothing
endif.
Now create your required job to run after ZABC event.
Please reward if useful. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaj
As far as I know, I dont think there is a way to skip one particular run of a periodic batch job. I suppose you will have to stop the batch job in the month that you dont need it. And then later schedule it again when you want to start.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.