Skip to main content
Version: Next

Scheduled activities

About scheduled activities

Both changes and workflow runs can be scheduled to run on a future date and configured to run on a repeated schedule. This is referred to as a scheduled activity.

Scheduled activities are configured in OpsChain to automatically create and deploy changes or workflow runs in a project, environment or asset:

  • at a particular time, on a recurring cron schedule
  • in response to project Git repository updates (scheduled changes only)

Understanding the scheduled activity screen

A table view is presented upon accessing the scheduled activity screen. This view organises scheduled changes and scheduled workflows, allowing users to track, review, and manage upcoming activities.

Scheduled activity details

Scheduled activity screen

Each row includes:

ColumnDescription
TargetIndicates the project or environment against which the activity is scheduled to run.
TypeIndicates how the schedule is triggered, either by a scheduled run or via a new commit.
ActionThe action that will be executed.
Next run atTimestamp for when the activity is next scheduled to run.
RepeatsWhether the scheduled activity is recurring or will run only once.
EnabledWhether the scheduled activity is enabled or not (e.g. because its parent has been archived).
Scheduled byThe user who scheduled the activity.
Created atTimestamp for when the scheduled activity was created.
Buttons & linksFunction
Bulk actionsPerform operations on multiple scheduled activities, such as deletion.
Search barFilter the contents of the table based on these criteria.
ColumnsHide or display columns in the table.

Triggering on new commits only

When creating a scheduled change, you can decide whether it only creates a change if there are new commits in the Git repository since the previous run.

New commits onlyGit revision has new commitsOpsChain change created
truetruetrue
truefalsefalse
falsen/atrue
note

If the current commit on the relevant Git revision (for example master) hasn't been used in a change for the chosen action and target, then a new change will be created straight away as part of this scheduled change.

It can take a minute for OpsChain to detect Git updates and create the new change.

As more commits are added to the Git repository, new changes will be created. Scheduled changes poll the project's Git repository for new commits on the Git revision. If multiple commits occur on the relevant Git revision between polls then only one scheduled change will be created with the latest commit.

Creating and deleting a scheduled activity

Scheduled changes and workflow runs can be created from the run dialog by configuring its schedule in the Schedule tab.

To delete one or more scheduled activities, select the rows you wish to remove using the checkboxes, then choose delete selected from the bulk actions drop down.