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.
- 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
Fill in the Label and Description
fields and then click Open UI configurer to open the
Cron UI trigger configuration dialog box.
Select the hour and date items at which you want the task to be executed
as the following:
Enter a name to the trigger you are setting.
Enter a description for the trigger type and usage.
The minute at which you want to execute the task.
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.
The month in which you want to execute the task.
Days of week
The week day on which you want to execute the task.
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.For example:
Cron Expression Description 15 10 ? * 6L Fire at 10:15 a.m. on the last Friday of every month. 15 10 ? * 6L 2020-2022 Fire at 10:15 a.m. on every last Friday of every month during the years 2020, 2021, and 2022. 15 10 ? * 6#3 Fire at 10:15 a.m. on the third Friday of every month.For more information on Cron expressions, see https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm.
- 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.
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.