Skip to main content

Schedule

The Schedule trigger allows you to automate workflows by triggering them at specific times or at regular intervals. This is useful for actions that need to happen periodically, such as sending reminders, performing regular checks, or updating systems on a set schedule.

Schedule Trigger

How It Works

The Schedule trigger provides flexibility in defining when the workflow should run. You can specify the schedule using different types: cron, interval, or calendar. Each type offers different ways to define the timing, depending on the use case.

  • Interval:
    The interval schedule triggers the workflow at regular time intervals. For example, you can trigger a workflow every 5 minutes, hourly, daily, etc. This is simpler for tasks that should run periodically without needing exact times.

  • Calendar:
    A calendar schedule uses a date-based format to define when the workflow should be triggered, typically by referencing a calendar system or specific dates.

  • Cron Expression:
    A cron schedule uses a string that defines specific times to trigger the workflow, down to the minute and day. This is very powerful for exact timing, such as running a task every Monday at 9 AM.

Schedule Type

Configuration

PropertyDescriptionRequiredDefault
Schedule TypeThe type of schedule. It can be cron, interval, or calendar.trueinterval
note

Schedule Type is required to specify the timing mechanism. If not provided, it defaults to the interval schedule type.