I have a few jobs on different schedules for the same script that never stopped running, causing other successive jobs to start failing. I cancelled the jobs and while other jobs were able to run successfully, the job never left the Cancelling state. This is starting to happen for multiple jobs:
Is there any way to cancel these jobs? My first thought was the Task Manager, but without being able to correctly ID the process I am afraid to end a process without knowing what it is for. Is there any other way to ensure the job is cancelled? I have already tried restarting the PowerShellUniversal service, but the job never left the Cancelling state. I have also tried Get-PSUJob -Id 3744 | Stop-PSUJob, but it with no effect.
I just took a look at that for the first time. I did not know it existed. It looks like it only stores more recent runs though. Given that the jobs in question have been cancelling for a few days, they do not appear. Unless I am mistaken
Job doesnt want to cancel, new jobs fails, and the hangfire dashboard is not useful at all. It doesnt show any of my scheduled jobs etc.
restarting the service does nothing.
I havent personally seen this issue, but I’ve currently started using PSU in anger for automations as well as apps. Have you guys logged an issue for this in github?