# Unable to stop static background task using Robot Web Services

**URL:** <https://tech-community.robotics.abb.com/t/unable-to-stop-static-background-task-using-robot-web-services/10861>\
**Category:** Developer Tools\
**Tags:** rws, robot-web-services\
**Created:** [September 5, 2022, 2:07pm UTC](https://tech-community.robotics.abb.com/t/unable-to-stop-static-background-task-using-robot-web-services/10861 "2022-09-05T14:07:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aukecb](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@aukecb](https://tech-community.robotics.abb.com/u/aukecb)\
**Post date:** [September 5, 2022, 2:07pm UTC](https://tech-community.robotics.abb.com/t/unable-to-stop-static-background-task-using-robot-web-services/10861/1 "2022-09-05T14:07:44Z")

</div>

Hi all,

I am trying to stop a static background task to upload new modfiles to the task through Robot Web Services. Unfortunately I am unable to stop the the task using Robot Web Services, I have tried using the post request shown on this page:  
[https://developercenter.robotstudio.com/api/rwsApi/rapid\_execution\_stop\_page.html](https://developercenter.robotstudio.com/api/rwsApi/rapid_execution_stop_page.html)

But only normal tasks seem to stop when executing the request.  
I have tried setting the usetsp parameter to alltsk and made sure the static task was activated in the taskpanel, but I have had no luck stopping the static background task.

I would like to know how to solve this.  
Thanks in advance!
