I need to create a script to automatically stop an address locator service, and then start it again after another script rebuilds it.
We've recently upgraded to ArcGIS Enterprise 10.9.1. Previously, I used the method from this article to do this: Example: Stop or start all services in a folder—ArcGIS Server | Documentation for ArcGIS Enterprise.
Apparently, that doesn't work past version 10.8.x. Does anyone know of another way that this process can be scripted?
Thanks.
Maybe this: https://support.esri.com/en/technical-article/000019994
Is the geocode service part of an enterprise portal? If so you can use a simpler javascript api script.
Thanks! That did the trick.
I know this is old but the I have the same issue now except ours is not part of a enterprise portal so the code doesn't work. I can't find a solution to start the services in our 10.9.1 ArcGIS Server Manager because as soon as I turn off the services it disappear from rest and trying to start it finds no services to start.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.