Retrieve Data from a File System > Schedule Fetch Tasks

Schedule Fetch Tasks
The connector automatically runs the fetch tasks that you have configured, based on the schedule in the configuration file. To modify the schedule, follow these steps.
To schedule fetch tasks
1.
2.
3.
Find the [Connector] section.
4.
The EnableScheduleTasks parameter specifies whether the connector should automatically run the fetch tasks that have been configured in the [FetchTasks] section. To run the tasks, set this parameter to true. For example:
[Connector]
EnableScheduledTasks=True
5.
In the [Connector] section, set the following parameters:
 
The number of times that each fetchtask is run. To run the tasks continuously until the connector is stopped, set this parameter to -1. To run each task only one time, set this parameter to 0.
For example:
[Connector]
EnableScheduledTasks=True
ScheduleCycles=-1
ScheduleRepeatSecs=3600
ScheduleStartTime=15:00:00
6.
(Optional) To run a specific fetch task on a different schedule, you can override these parameters in a TaskName section of the configuration file. For example:
[Connector]
EnableScheduledTasks=TRUE
ScheduleCycles=-1
ScheduleRepeatSecs=3600
ScheduleStartTime=15:00:00
...
 
[FetchTasks]
Number=2
0=MyTask0
1=MyTask1
 
...
 
[MyTask1]
ScheduleCycles=-1
ScheduleRepeatSecs=60
ScheduleStartTime=16:00:00
In this example, MyTask0 follows the schedule defined in the [Connector] section, and MyTask1 follows the scheduled defined in the [MyTask1] TaskName section.
7.
Related Topics 
*
*