Scheduling
A schedule trigger runs a task on a cron expression or a fixed interval. For most cases, pass schedule= when creating the task. The sections below cover everything else.
Cron schedules
Attach a schedule to an existing task with triggers.create():
Python
Common cron patterns
Interval schedules
Pass interval_seconds instead of cron to run at a fixed interval:
Python
Email notifications
By default, m8tes emails you when a scheduled run completes. Disable it per task:
Python
email_notifications also works on tasks.create().
Managing triggers
Python
enabled also pauses and resumes app triggers. Webhook and email triggers are managed via the task webhook and agent email-inbox endpoints instead.
Next: Webhook Triggers · Email Inbox · Webhook Events
Was this page helpful?
