1. Tasks
  2. Schedule Task

Tasks

Schedule Task

Schedules actions to be run

The Schedule Task can be used to run actions at a future date. A schedule works by setting triggers that fire at specific times, which then run the actions configured on the schedule.

This family of tasks covers the full lifecycle of a schedule: creating one, removing it, fetching its details, and listing all the schedules on a stub.

Trigger Types

There are three types of triggers that can be set for a schedule:

  • Cron Triggers - Expressed using a cron expression
  • Once Triggers - Expressed using a SugarTime date and time
  • Repeated Triggers - Similar to once triggers, but can fire multiple times

In this section

Basic usage

Use the set_schedule task to schedule one or more actions to run when a trigger fires. See Set Schedule for the full parameter reference.

loading...