After completing the Application Server installation, it is necessary to add a scheduled task to run the End of Month Command Line Batch Processing process using the Windows Task Scheduler.
States/ITOs should run End of Day (EOD) and End of Month (EOM) processes in the following order:
Run the original End of Day Process - only required if your state's environment supports checks
Run the new End of Day Command Line Batch Processing
Run the new End of Month Command Line Batch Processing
|
IMPORTANT: When the EOM process is scheduled to start after the EOD process, the EOD process must have enough time to complete before the EOM is scheduled to start or the EOM process will fail. |
Before beginning the steps outlined below, display the Windows Desktop.
Complete the following steps to add a scheduled task for the End of Month Command Line Batch Processing:
1. Click Start on the Windows Taskbar.
Figure 3-1 – Administrative Tools sub-menu (Start menu)
2. Point to Administrative Tools, and then select the Task Scheduler sub-menu.
Figure 3-2 – Action Menu (Task Scheduler Screen)
The Task Scheduler screen displays. The screen is used to schedule tasks for Windows to run at designated times.
3. Select the Create Task menu option on the Action menu.
Figure 3-3 – General Tabbed Page (Create Task Screen)
The General tab of the Create Task screen displays. The screen is used to schedule a task.
|
NOTE: The user account used to run the task is, by default, the one used to log on to Windows. Clicking the Change User or Group button allows the user account used to run the task to be changed. |
4. Enter a Name for the task (e.g., "State – EOM").
5. Enter a Description for the task (e.g., "The processing that must occur after the close of business each month.").
6. Select the Run whether user is logged on or not radio button.
7. Check the Run with highest privileges check box.
8. Click the Triggers tab.
Figure 3-4 – Triggers Tabbed Page (Create Task Screen)
The Triggers tab on the Create Task screen displays. The screen is used to schedule a task.
9. Click the New button.
Figure 3-5 – New Trigger Screen
The New Trigger screen displays. The screen is used to set a trigger for a task.
10. Select the "On a schedule" option in the Begin the task drop-down list box.
11. Select the Daily radio button in the Settings radio button group.
|
IMPORTANT: Setting the EOM process to run daily allows EOM to automatically restart each day if a process fails. If the EOM process is set to run monthly and the process fails, it can be restarted manually from the Command Prompt. |
12. Select the Start date on which Windows should start running EOM.
13. Select the Start time on which Windows should start running EOM.
|
IMPORTANT: When the EOM process is scheduled to start after the EOD process, the EOD process must have enough time to complete before the EOM is scheduled to start or the EOM process will fail. |
14. Enter "1" in the Recur every [x] days text box.
15. Select the Stop task if it runs longer than check box and select the "1" from the available drop-down list box to stop the task if the duration of the task runs for more than one day.
16. Select the Enabled check box.
17. Click the OK button.
The Triggers tab on the Create Task screen displays.
18. Click the Actions tab.
Figure 3-6 – Actions Tabbed Page (Create Task Screen)
The Actions tab on the Create Task screen displays. The screen is used to set the action that occurs when the trigger is activated.
19. Click the New button.
Figure 3-7 – New Action Screen
The New Action screen displays. The screen is used to set an action for a task.
20. Select the "Start a program" option in the Action drop-down list box to create an action for the new End of Month Command Line Batch Processing.
.
21. Enter "BatchProcessor.exe -EOM [CN]" in the Program/script text box. Windows Task Scheduler will automatically modify the Program/script and Add arguments (optional) text boxes to set parameters for the command.
|
NOTE: The [CN] attribute above identifies the [State Identifier Code] attribute specified in the Windows environment variable for your state's environment. Windows environment variables are added during the Create Environment Variables within the Windows Operating System process of the BatchProcessing_Core.zip Installation and Configuration. See the State Identifier Codes topic for more information. |
22. Enter "{drive letter}:\Program Files\Spirit\BatchProcessing\" in the Start in (optional) text box.
|
NOTE: Replace the path and folder above with the path and folder name where the content of the BatchProcessing_Core.zip was extracted. See the BatchProcessing_Core.zip Installation and Configuration topic for more information. |
23. Click the OK button.
This completes the steps to create a scheduled task for EOM for a single site. If multiple sites were created by the InstallShield wizard during the installation of the Application Server, a scheduled task for EOM must be created for each site.
|
Software Version: 2.40.00