Running External Applications Using Task Scheduler
Introduction
The Task Scheduler is a Windows functionality that enables you to automatically perform routine tasks on a chosen computer. The Task Scheduler does this by monitoring the criteria you choose (referred to as triggers) and then executing the tasks when those criteria are met. You can use the Task Scheduler to automatically run external applications (like the Viedoc Import Application or the Viedoc Data Export application) on your own computer.
Note! If you're not sure how to set this up, or not allowed to, please consult your IT department for advice.
Setting up the Task Scheduler
To run an external application using Task Scheduler (we will use the Viedoc Import Application as our example):
1 | Open Task Scheduler. |
2 |
In Task Scheduler Library, select Create a Basic Task. |
3 |
Enter a name of the task in the Name field and click Next. |
4 |
In the left pane, select Trigger and then select the Daily option and click Next. |
5 |
Set the Start date and time and enter the number of days in the Recur every field and click Next. |
6 |
In the left pane, select Action and then select Start a program and click Next. |
7 |
Click Browse and select the Viedoc.Import.exe program from the location where it is saved. |
8 |
In the Add arguments (optional) field, add the file path to the configuration file, for example |
9 | In the Start in (optional) field, add the file path to the folder where the import application is located (for example C:\V4_import ) and click Next. |
10 |
Select Open the properties dialog for this task when I click Finish and click Finish. |
11 | Open the properties for the task. |
12 |
On the General tab, select Run whether the user is logged on or not and click OK.
|
Updating the frequency
The frequency can be updated in the property of the task.
To update the frequency:
1 | Go to Properties > Triggers and mark the trigger. |
2 | Select Edit. |
3 |
Select Repeat task every and then set the frequency, for example 1 hour. Click OK. |