Kill Hung Task

I have a runbook that I accidentally put an infinite loop into the script (due to a misnamed variable).

I tried to cancel it, but it has been stuck in a “Cancelling” state for over an hour now.

Is there some way to kill off the task?

Hi @OctopusSchaff,

Sorry to see you have a hung task.

If you have access to the machine the process is running on, you should be able to find the process in Task Manager and kill the deployment process on the worker machine. Otherwise, you should be able to restart the tentacle service to terminate the process.

Please let me know if this helps you get unstuck.


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.