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.
Solved! Go to Solution.
Is the geocode service part of an enterprise portal? If so you can use a simpler javascript api script.
Thanks! That did the trick.