Question
· Nov 7, 2022

Force stopping a task

Hi Guys,

 

I've a task scheduler that is stuck in Running is there a way for force stopping it?

 

Thanks

Product version: Ensemble 2014.1
Discussion (5)2
Log in or sign up to continue

I've had to do this a time or two in a development environment. Sometimes you can find it under System Operation > Processes and terminate the process. If that doesn't work, you can look at the process ID of the process and kill it at the OS level (the kill command in Linux, or taskkill in Windows). Just be aware that depending on what it's doing and how the task was written, you may end up with some weird stuff.

A handy way to find the process is to check your lock table.  These processes will typically take out a lock based on the Task ID.   This can be used to find the process, examine it and kill it if required.

It's also possible in some cases for the process to die and not update the task, and this can account for no processes matching this criteria