I have a Python web application running in a CherryPy server, which is running as a windows service. I have a batch file to deploy this application, but I'm still having to remote desktop in to the server to restart the service. Is there any way to script this?
I tried:
psexec \\server "net restart cherrypyservice"
But this doesn't seem to work.