Is it possible to programmatically stop and start ArcGIS Server map services using Python?
ArcGIS Server Map Services – Starting and Stopping ArcGIS Server Map Services Using Python
arcgis-serverpython
arcgis-serverpython
Is it possible to programmatically stop and start ArcGIS Server map services using Python?
Best Answer
For those that are using ArcGIS 10.0, and interested in using AGSSOM as recommended by D.E. Wright, I've put together the following code. This will stop all services allowing you to perform necessary geodatabase tasks, and then restart previously running services.