Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 ====
  
-{{ :tutorial:adm:scheduled_tasks_trigger_04.png |}}+{{ :tutorial:adm:cron-trigger.png |}}
  
-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://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html )+ 
 +Cron expression tutorial: http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html
  
 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
  
 {{ :tutorial:adm:scheduled_tasks_trigger_05.png |}} {{ :tutorial:adm:scheduled_tasks_trigger_05.png |}}
  
 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 ====
  
 {{ :tutorial:adm:scheduled_tasks_trigger_06.png |}} {{ :tutorial:adm:scheduled_tasks_trigger_06.png |}}
  
 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, because there can be more scheduled tasks with same task type. In this tutorial we selected **the second scheduled task**. 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, because there can be more scheduled tasks with same task type. In this tutorial we selected **the second scheduled task**.
- 
-==== Other task trigger ==== 
  
 {{ :tutorial:adm:scheduled_tasks_trigger_07.png |}} {{ :tutorial:adm:scheduled_tasks_trigger_07.png |}}
  • by apeterova