Page 1 of 1
Cancel the current task
Published: April 14, 2016 - 5:34 PM
by Floflobel
Hello,
I would like to cancel the installation, which is stuck because I made a mistake in the package.
I don't want to wait the 15-minute timeout but cancel it immediately.
Is there a command I need to run? Please note that I don't have a graphical interface on the client machines.
Sincerely,
Re: Canceling the current task
Published: April 15, 2016 - 1:23 AM
by sfonteneau
Using wapttray.exe or the console you can use "cancel current task"
Re: Canceling the current task
Published: April 16, 2016 - 12:36 PM
by Floflobel
Thank you for your reply.
Wapttray is not visible on my client machines.
Since my machines are not on the same network, it's impossible to cancel the task from the console.
Re: Canceling the current task
Published: April 16, 2016 - 11:54 PM
by sfonteneau
I'm not sure this answer will suit you better, but I'll give it to you anyway:
From the client you can visit:
Code: Select all
http://127.0.0.1:8088/cancel_running_task.json
For the current task or:
Code: Select all
http://127.0.0.1:8088/cancel_all_tasks.json
For all tasks
But anyway, it's pretty much the same as the Wapttray
Re: Canceling the current task
Published: April 21, 2016 - 11:11 AM
by Floflobel
Hello,
I think your answer is perfect. Especially since it's just for a test station!
I just tested it and it works perfectly; it will avoid waiting for the timeout.
Regards,