Start/stop arcgis secure services Python 3

File uploaded by frenkelj on Jun 30, 2020
Version 1Show Document
  • View in full screen mode

For anyone who is interested, here a Python 3 script that stops or starts all map services in the ROOT folder. It can be started with the following command:

"<arcgis install dir>\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe" <file location>\ %1 %USER% %2 %PASS% %3 %SERV% %4 %MAP% %5 %STARTSTOP%


Any improvements are welcome of course