Skip to main content

Scheduled activities

This guide provides an overview of scheduling activities within MintPress.

After following this guide you should know:

  • how scheduled activities work
  • how to diagnose errors in scheduled activities

Overview

Scheduled activities are either a scheduled change or a scheduled workflow run. They are schedules configured in MintPress that allow you to repeat the creation and execution of changes and workflow runs within MintPress. They can be configured to run at a particular time, such as in at a particular day and time, repeatedly or not. Scheduled changes, in particular, can also be configured to start a change only when there are Git repository updates.

Just like regular changes and workflow runs, scheduled activities take in properties overrides, metadata or comments. These are then applied to any activity that is created as part of the scheduled activity.

Activities initiated by scheduled activities are marked as scheduled in the MintPress activity table.

Scheduled activities events

Scheduled activities generate events. Some common scenarios for error events are:

  • when parallel executions of the same activity is not allowed and one is already running. The event will have a type of warning:scheduled_activity:skipped
  • when the Git commit SHA can't be determined for the Git revision in the relevant Git remote for a change. The event will have a type of error:scheduled_changes:git_sha

You can find all the events generated by scheduled activities in the events guide.