About this task
If you need to execute a task on a regular basis over a period of time, then use a CRON-based trigger.
Procedure
- On the Job Conductor page, select the task you want to implement a trigger on.
-
In the Triggers view, click Add trigger... and then select Add CRON trigger from the drop-down list. The
CRON trigger configuration panel
opens.
Example
-
Fill in the Label and Description
fields and then click Open UI configurer to open the
Cron UI trigger configuration dialog box.
Example
-
Select the hour and date items at which you want the task to be executed
as the following:
Field
Description
Label
Enter a name to the trigger you are setting.
Description
Enter a description for the trigger type and usage.
Minutes
The minute at which you want to execute the task.
Hours
The hour at which you want to execute the task.
Days of month
The month day on which you want to execute the task.
If you want the task to be executed on the last day of the selected month(s), select last day of month in the Cron UI trigger configuration dialog box or type in L in the Days of month field.
Months
The month in which you want to execute the task.
Days of week
The week day on which you want to execute the task.
Years
The year in which you want to execute the task.
Fields marked with **: Select one or more week day OR one or more dates.
Fields marked with *: mandatory information.
For multiple selection, press Ctrl + click.
- Click Apply modifications. The dialog box closes and the selected data is displayed in the CRON UI trigger configuration panel.
- Click Save to validate the CRON-based trigger configuration or Cancel to cancel the operation.
Results
The Trigger Status for the selected task changes from No Trigger to At least one trigger is running.
Note that, if the task is already running when the task is triggered, the Job Conductor will wait for the current task to finish. If the task is not finished after 60 seconds, then the status of the task execution changes to 'misfired'. A misfired event also occurs if the trigger misses its firing time because of Talend Administration Center is shut down. For more information on task execution status and monitoring, see Monitoring task executions in the Monitoring node.