Hello everyone, I need to create a trigger or several in such a way that I can execute a process on Sundays at 12am and execute it every 30 minutes and stop the executions at 4am. What type of trigger could I use for this case?
Hello @santiago_Alvarez
You can use a Time Trigger, in Advanced mode and link it to the following Cron expression:
0 0/30 0,1,2,3 ? * SUN *
Expression Description:
- At second :00, every 30 minutes starting at minute :00, at 00am, 01am, 02am and 03am, on every Sunday, every month
Example execution dates:
- Sun Jun 30 00:00:00 2024
- Sun Jun 30 00:30:00 2024
- Sun Jun 30 01:00:00 2024
- Sun Jun 30 01:30:00 2024
- Sun Jun 30 02:00:00 2024
- Sun Jun 30 02:30:00 2024
- Sun Jun 30 03:00:00 2024
- Sun Jun 30 03:30:00 2024
- Sun Jul 07 00:00:00 2024
- Sun Jul 07 00:30:00 2024
Example setup in Orchestrator:
- Remember to change your timezone so that the automation runs on the expected hours.
- Edit: Assuming that your automation can run longer than 30 mins, you can schedule end of job execution after 30 mins, to ensure that even If there are items in the queue, it will not get past 4pm
Hope this helps!
BR,
Ignasi
In this scenario you can use the Time Triggers. These will trigger the process based on the specified time.
Login to Orchestrator β Go to Specific folder (where you have added your process) β Go to Automations tab β Navigate to Triggers β Click on Add a new Trigger β Give the Process name, select the Process you want to trigger β Select the Runtime type and other mandatory fields β Go to frequency drop-down and select the Advance option.
It will ask you to give the Cron expression, based on this expression the bot will trigger and execute the specified process.
For your case, use the below Cron expression,
0,30 0-3 * * 0
Hope it helps!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.