Start/stop arcgis secure services Python 3

1557
1
06-30-2020 11:13 PM

Start/stop arcgis secure services Python 3

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>\Start_stop_arcgis_services_in_folder_https_P3.py %1 %USER% %2 %PASS% %3 %SERV% %4 %MAP% %5 %STARTSTOP%

Any improvements are welcome of course

Attachments
Comments

Thank you for posting this!     I have been struggling to find a working solution for a while.    This is perfect.   

Version history
Last update:
‎06-30-2020 11:13 PM
Updated by:
Contributors