This topic was automatically generated from Slack. You can find the original thread here.
Is it possible to schedule workflows to slow down at night? For example to check for new emails every 2 min during the day and every 30 minutes at night?
This topic was automatically generated from Slack. You can find the original thread here.
Is it possible to schedule workflows to slow down at night? For example to check for new emails every 2 min during the day and every 30 minutes at night?
Try adding two triggers, and use CRON expressions to run every 2 minutes from X to Y, and another one to run every 30 minutes from Y to X
wait - one workflow can have 2+ triggers?
do you have an example on how to use cron expressions in trigger timing? I only see a number picker and second / minute / hour etc… picker
what is the cron expression to run every 2 minutes from 8:00 AM to 7:00 PM from Monday to Friday?
To create a cron expression that runs every 2 minutes from 8:00 AM to 7:00 PM, Monday to Friday, you can use the following expression: **/2 8-19 ** ** 1-5
Here’s a breakdown of the expression: - **/2
: Every 2 minutes - 8-19
: From 8:00 AM to 7:59 PM (19:59) - **
: Every day of the month - **
: Every month - 1-5
: Monday to Friday This cron expression will schedule the job to run every 2 minutes during the specified time frame on weekdays.
Thanks I just saw now there is a CRON tab in the trigger, that’s what I was asking about, not how to write a cron expression. Thanks for following up!
Ah gotcha