How To - Run Integrator Unattended
1. Run the Automation Wizard
Integrator includes an automation wizard that displays the same set of options that are provided when you execute the "Determine Modifications" task. In addition, it allows you to store the task as a desktop shortcut or as a batch file. A batch file would be used when you want to execute the task via Windows Scheduled Tasks. When the wizard completes, the desktop shortcut or batch file will be created instead of executing the tasks specified.
- Start Integrator
- Select "Tools /
Automation Wizard..."
- Select the tasks that should be run.
- Select the jobs that should be included. If all jobs are selected, the operation will continue to include all jobs even as the list of jobs changes in the future.
- If the task will be run by Windows Task Scheduler, save the task as a batch file.
2. Address Drive Mapping (Windows Task Scheduler)
Windows includes a service called "Task Scheduler" which is designed for the purpose of executing programs on a scheduled basis. There is a known issue regarding the use of Task Scheduler with mapped drives. When a task is created, a user account is specified for the task to run under. Even though the user account may have mapped drives, the mapped drives are not automatically available for the account when running under the Task Scheduler service. To work around this issue you can explicitly map the drives by adding commands to the batch file.
- Edit the batch file created by step 3 above.
- Add "NET USE" statements to map drive letters. The drives that must be mapped are those that contain the Sage Timberline Office system folder and the Sage Timberline Office data folder (which could be the same drive). These statements should be placed before the line created by the wizard that executes the IRUN.EXE program.
Example-
NET USE F:
"\\MyServer\AccountingShare"
"C:\Program Files\Event
1\Integrator\IRUN.EXE" CN="My Connection"
3. Schedule the Task
-
Select "[Start] / Programs / Accessories /
System Tools / Scheduled Tasks"
-
Double-click on "Add
Scheduled Task"
-
When asked to identify the program to run, click
<Browse> and select the batch
file created in the previous steps.
-
Complete the remaining steps of the wizard to
assign schedule.
-
Select "[Start] / Programs / Accessories / System Tools / Scheduled Tasks"
-
Double-click on "Add Scheduled Task"
-
When asked to identify the program to run, click <Browse> and select the batch file created in the previous steps.
-
Complete the remaining steps of the wizard to assign schedule.