Tuesday, 18 August 2015

Starting and stopping ArcGIS Server map services using Python?


Is it possible to programmatically stop and start ArcGIS Server map services using Python?



Answer



At ArcGIS 10.0, for individual services, such as you could command-line to maintain ArcIMS, there is a commandline tool you can download from the Code Gallery (AGSSOM) that gives you the core of major areas but there is no granular 'service specific' level control that you can use at this time to Start/Stop/Refresh/Add/Remove AGS services.


There is on ideas.arcgis.com several places with requests to improve control of services from a more automatable location.



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...