Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:create_and_configure_trigger [2019/07/10 07:00] doischert |
tutorial:adm:create_and_configure_trigger [2020/03/16 12:51] apeterova move header to the correct place |
||
---|---|---|---|
Line 5: | Line 5: | ||
{{ : | {{ : | ||
- | So we have three scheduled tasks, none of them has any trigger. Let´s start with the first scheduled task (by description). Click on the **Add** button in **Scheduled starts** and a pop-up window will show up. | + | So we have three scheduled tasks, none of them has any trigger. Let´s start with the first scheduled task (by description). Click on the **Add** button in **Scheduled starts** and a pop-up window will show up. |
+ | |||
+ | We have four types of triggers: | ||
+ | * Once time start trigger - task starts once in configured date and time. | ||
+ | * Repeated start trigger - configure period to repeated task start. Configured period is converted to cron expression on the background. | ||
+ | * Cron trigger - cron expression can be configured directly. | ||
+ | * Other task trigger - task is started after other (dependent) task ends. | ||
+ | |||
+ | ==== Once time start trigger ==== | ||
{{ : | {{ : | ||
Line 16: | Line 24: | ||
Now click the **Add** trigger button next to **the second scheduled task**. | Now click the **Add** trigger button next to **the second scheduled task**. | ||
- | {{ : | + | ==== Repeated start trigger ==== |
- | Now select the trigger type **Cron**. In **Cron expression** field you can add an expression which could start the scheduled task periodically. We set **0 0 7 * * ?**, meaning the scheduled task will be started every day at 7 AM. | + | {{ : |
- | ( Cron expression tutorial: http:// | + | |
+ | |||
+ | Now select the trigger type **Repeated start**. We can choose interval from prepared options which could start the scheduled task periodically from given valid date. | ||
+ | Configured period is converted to cron expression on the background. Behavior is the same as cron trigger, which is described below. | ||
+ | |||
+ | |||
+ | ==== Cron trigger ==== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Now select the trigger type **Cron**. In **Cron expression** field you can add an expression which could start the scheduled task periodically. We set **0 0 7 * * ?**, meaning the scheduled task will be started every day at 7 AM. When valid date is configured, then first start of the task will be postponed to given date. | ||
+ | |||
+ | Cron expression tutorial: http:// | ||
Other common combinations: | Other common combinations: | ||
Line 27: | Line 47: | ||
In the picture above, we can see another trigger and the next scheduled start is tomorrow on 31st January at 7 AM. This trigger will not disappear after that date, but will be updated to another start. | In the picture above, we can see another trigger and the next scheduled start is tomorrow on 31st January at 7 AM. This trigger will not disappear after that date, but will be updated to another start. | ||
+ | |||
+ | ==== Other task trigger ==== | ||
{{ : | {{ : |