Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:adm:create_and_configure_trigger [2020/03/05 07:38] tomiskar |
tutorial:adm:create_and_configure_trigger [2020/05/13 14:42] apeterova [Cron trigger] |
||
---|---|---|---|
Line 35: | Line 35: | ||
==== Cron trigger ==== | ==== 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. | + | 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:// | + | |
+ | Cron expression tutorial: http:// | ||
Other common combinations: | Other common combinations: | ||
* **0 0 * * * ?** - start the task every hour | * **0 0 * * * ?** - start the task every hour | ||
+ | * **0 0 7 * * ?** - start the task every day at 7 AM | ||
+ | * **0 0 5 ? * MON** - start the task every monday at 5 AM | ||
+ | * **0 0 11/12 * * ?** - start the task twice every day - at 11 AM and at 11 PM | ||
{{ : | {{ : | ||
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 ==== | ||
{{ : | {{ : | ||
Now we add the trigger to the last scheduled task and in **Type** select **Other task**. In **Other task** field select another scheduled task, but as you can see on the picture above, scheduled tasks are represented by their description, | Now we add the trigger to the last scheduled task and in **Type** select **Other task**. In **Other task** field select another scheduled task, but as you can see on the picture above, scheduled tasks are represented by their description, | ||
- | |||
- | ==== Other task trigger ==== | ||
{{ : | {{ : |