Cancel an activity
Back to home
On this page
Try Upsun for 15 days
After that, enjoy the same, game-changing Upsun features for less with the First Project Incentive!ยน A monthly $19 perk!
ยนTerms and conditions apply
If you have a stuck activity or you pushed a change you know doesn’t work, you can cancel a running or pending activity on an environment. This works for activities such as builds, cron jobs, and source operations.
You can cancel activities using the CLI or in the Console.
Run the following command:
upsun activity:cancel
If you have more than one running or pending activity, choose which activity to cancel.
You can also cancel a specific activity by specifying its ID:
upsun activity:cancel ACTIVITY_ID
Get the ID from the activity log.
- Open the environment where you want to cancel an activity.
- In the activity log, click More next to the activity you want to cancel.
- Click Cancel.
Non-cancellable activities
An activity can finish in between when you load the Console and when you click Cancel. For example, when the activity is a source operation and the related build hook has already completed. In such cases, you get a message that the activity can’t be cancelled.