Scheduling in Report Runner Batch is quite easy. As you know (or maybe you don't know), our Report Runner Batch Scheduler utilizes the Windows Scheduler to run the schedules. The Windows Scheduler is super reliable (it's developed by Microsoft and is built-in to every operating system). Our Report Runner Batch Scheduler interfaces with the Windows Scheduler and handles all of the basics. In some cases though, you need access to more extensive scheduling options. In this case, we recommend using the CUSTOM
option in our Report Runner Batch Scheduler.
In this example, we are going to create a CUSTOM schedule to run a batch bi-weekly (literally every two-weeks, non-stop, from a given start-date). The initial start date is Monday, April 20th at 2am. It will repeat every two weeks, on Monday, after that date.
NOTE: This tutorial is based on the Windows 7 and Windows 8 Task Scheduler (which included Windows Server 2008 and 2012). If you are using Windows XP or Server 2003, you can still accomplish this, but the screenshots will look a bit different.
1. Create Custom Schedule (select the CUSTOM option). Note, you will get a message any time you choose this that previous settings are removed.
2. SAVE the custom schedule, and you will see a confirmation message with specific instructions.
3. Click on the TASK SCHEDULER button to open the Windows Task Scheduler.
4. Click on "Task Scheduler Library" and double-click on the Jeff-Net schedule you just created (note since it indicates it has "Never" been run in Last Run Time, it is easier to locate).
5. Click on TRIGGERS.
6. Edit the trigger that currently indicates one time.
7. Change one time trigger to WEEKLY.
8. Confirm starting date, change recurring to every 2 weeks, and set for Monday. Click OK.
9. Note trigger now indicates weekly. Click OK and you are finished in the Windows Scheduler. If you created this task originally using your ID/password, it will prompt for you to confirm your password.
10. Back in the Report Runner Batch Scheduler, click on OPEN TASK CALENDAR and select SHOW ONE YEAR.
11. The calendar will visually show you a confirmation of the next run dates you have configured in the Windows Scheduler. The cool thing about the calendar interface is it gets this information from the Windows Scheduler, visually showing you what the Windows Scheduler is planning to do (as opposed to simply showing you a calendar and "blindly" highlighting every two weeks). The dates you see here are specific dates that the Windows Scheduler is returning to our query on that schedule ID. If the calendar does not look correct, you need to go back into the Windows Scheduler and correct your schedule settings.
That's it! You have unlimited scheduling options using the CUSTOM setting. As long as you create the ID in the Report Runner Batch Scheduler, any custom schedules you modify can still be tracked and reported on using Report Runner Batch.