Happy 8th birthday to the Maveryx Community! Take a walk down memory lane in our birthday blog, and don't miss out on the awesome birthday present that all Maveryx Community members get to take advantage of!
We've Alteryx Server 2020.2. Users either schedule workflows or run it on demand. We're looking for automating monitoring processes. While admins can view/cancel scheduled jobs same is not the case with ad-hoc runs.
Is there any way by which admin can view/cancel scheduled as well as ad-hoc jobs?
Solution you provided is very helpful. Thanks for that. I have follow up question around automating it.
We've requirement where we need to gracefully cancel any running job before we start taking mongoDB backup on daily basis. As backup is a daily task which is automated, we need some programmatic way to handle job cancellation.
@raychase Thanks for your response. Does this command gracefully cancel the job? I heard from Alteryx support that killing jobs this way may corrupt mongoDB. Have you noticed something like that happened in your case?
I've read mixed opinions on whether or not this could cause MongoDB corruption. What I know is that I've been using the command in several environments for over a year, and it hasn't caused any issues for us. Users have the ability to cancel running jobs from the Gallery, so it doesn't seem unprecedented to kill the jobs using task manager. I've compared the engine logs for jobs cancelled via taskkill command vs. cancel job function on the Gallery, and their terminations appear equal in nature. If it's unadvisable to kill running jobs, then I would argue that the feature should be deprecated from the Gallery.