Select to view content in your preferred language

How to clear or delete pending Server jobs?

5700
5
Jump to solution
01-15-2016 12:07 PM
DanSlayback1
Deactivated User

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.

0 Kudos
1 Solution

Accepted Solutions
MichaelRobb
Honored Contributor

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/

View solution in original post

5 Replies
MichaelRobb
Honored Contributor

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/

DanSlayback1
Deactivated User

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.

0 Kudos
MichaelRobb
Honored Contributor

Hi,

There is no means via RESTful services that I know of.

Glad we solved your issue.

0 Kudos
ScottPrindle
Esri Regular Contributor

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

MichaelRobb
Honored Contributor

Hi Scott,

Great!  Thanks for finding that!

0 Kudos