11-09-2022 12:08 PM
I need to restart a LabVIEW web service from the cmd line.
I know I can just stop and start the NI Web Server entirely through Windows Services but there's more than a few (NI Web) services and that takes a lot more time than I'd like.
I see that there's a NI Web Services API Key page... does this mean there is a web API I can hit to restart a web service by name?
Thanks
12-01-2022 09:54 AM
If it's a service under windows service and you're okay with using cmd line, would "net stop [service name]" "net start [service name]" do the trick?
See this super user thread for details: https://superuser.com/questions/301765/restart-a-windows-service-from-the-command-line
You may run into issues if there are dependencies.