Running a scheduled job every other month
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2017 09:48 AM
Hi All:
I have a requirement to have a scheduled job kick off the first day of odd number months (Jan, Mar, May, etc.). I am not sure where to start with this. Should I try scripting an "on demand" run_type and then setting the condition to only run every other month? If so, could you help with how that script would look like?
Or should I try to create a new run_type that is bi-monthly or some other approach? If so, what business rule do I need to modify?
Thanks for any help y'all are able to provide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2017 10:00 AM
Is the scheduled job a scheduled script or a scheduled report?
In the case of a scheduled SCRIPT, I'd just have it fire every month. Then in your script use an if condition to determine if you're an odd or even month.
If (Jan, Mar, May, July, September, Nov) {
do stuff
} else {
return;
}