Hi all
Really quick question. Is there an API call that can be used to change the Minimum number of instances per machine: values?
I want to setup an automated event prior to a table sync that turns off the Map service or sets this option to zero prior.
Cheers
Peter@
you may want to take a look at the AGS admin tool box
http://www.arcgis.com/home/item.html?id=12dde73e0e784e47818162b4d41ee340
It it is an python admin with the scripts so you can set it up in a script to automate. There is a service stop/start/delete tool that I use. The only issue with scripting is you need to include an admin user/pwd with permissions to shut down. But the only (or easiest anyway) way you can make sure the service = zero holds is to shut the services down
some of the geonet links have been flakey today...so let me know if this doesn't work....but using the ID on arcgis.com should find it if the link doesn't work.
Hi Rebecca
Thanks for the information. Will give it a shot and let you know and this link works fine for me.
I'll sign off on this answer shortly.
Cheers
Peter
you need use ArcGIS Rest API - Administering your server : http://resources.arcgis.com/en/help/arcgis-rest-api/#/Edit_Service/02r3000001zp000000/