I've been searching for some method to manually clear out and delete any pending geoprocessing service jobs, in ArcGIS Server (10.3.1, on linux). Is there a way to do this?? Either via ArcGIS Server Manager, or the admin end point? Or some other tool?
Restarting the service, and/or Server itself, has no effect; the queued jobs resume processing.
Solved! Go to Solution.
Hi,
I currently do not have acecss to my server to check at the moment, but If I remember correctly, you should be able to delete the files in arcgisserver/directories/arcgisjobs/
Hi,
I currently do not have acecss to my server to check at the moment, but If I remember correctly, you should be able to delete the files in arcgisserver/directories/arcgisjobs/
Yes, thanks, that does seem to do the trick.
I was hoping there was a way to do this via a REST call, but it looks like manually deleting those files is the only way.
Hi,
There is no means via RESTful services that I know of.
Glad we solved your issue.
Michael and Dan,
If the GP service is asynchronous, the following REST operation can be used:
ArcGIS REST API - Cancel GP Job
The Cancel operation is pretty straightforward in that all you need to run it is the job ID that you would like to cancel.
-Scott
Hi Scott,
Great! Thanks for finding that!