About this task
If you need monthly or weekly executions of your rules, then use a CRON-based trigger.
To add a CRON trigger to a rule:
Procedure
- On the Scheduling page, click Add trigger on the toolbar located above the execution scheduling table.
-
Select Add CronTrigger from the drop-down list.
Example
The configuration panel opens to the right:Example
-
Fill out the configuration panel with the following information:
Field
Description
Name
Name of the trigger.
Type
Type of trigger. CronTrigger displays and is read-only as you selected Add CronTrigger from the Add trigger drop-down list.
Rule
Select the rule for which execution is to be triggered..
Minutes
Minute you want to execute the migration rule.
Hours
Hour at which you want to execute the migration rule.
Days of month
Day of the month when you want to execute the migration rule.
Months
Month when you want to execute the migration rule.
Days of week
Day of the week when you want to execute the migration rule.
Years
Year you want to execute the migration rule.
Fields marked with **: Select one or more week day OR one or more dates.
Fields marked with *: mandatory information
For multiple selections, press Ctrl + click
The following fields are read-only triggering information which display automatically, as soon as the trigger is saved (hence fired).Time triggered
Number of times the trigger has already fired.
Previous fire
Date and time at which the previous triggering took place.
Next fire
Date and time at which the next triggering will take place.
Warning: If you click on any trigger in the list before finalizing the creation or modification of the current trigger, a dialog box prompts you to save the parameters in the configuration panel before switching to another trigger. Click Cancel to return to the configuration panel and save the parameters. -
Click Save to validate the CRON-based trigger
configuration.
Note: If you have problems related to triggering Jobs at a fixed time, consult your Administrator to see if the TimeZone is set correctly on your server. For further information about setting the TimeZone, see the Talend Installation and Upgrade Guide.