Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is there a way to restart an ArcGIS Server v10 Map Service from the command line in Windows 7?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

I use the AGSSOM utility http://arcscripts.esri.com/details.asp?dbid=16293. It is a command linetool that works with Arc10 on both Win7 and WInServer2008. You can start, stop, and view running services from the command line. You can also write a batch script to schedule. Very nice little utlity.

share|improve this answer
    
+1, it also comes with source so you can make it do other things. NB: You must be a member of the "agsadmin" group to run the command. –  mwalker Feb 1 '11 at 17:19
    
AGSSOM is tha bomb, baby! –  Chad Cooper Mar 10 '11 at 2:16

You can use the AGSSOM utility command line and save it to a .bat (batch file). This will allow you to do things like restart, stop, or stop groups or all web services with a double-click.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.