Reputation: 23
I published a web api on pi2 then run command ".\web.cmd" via Powershell remotely, but I want to make the site run automatically without using Powershell.
Is there another way to run my asp.net web api automatically?
.net core version
dnx-coreclr-win-arm.1.0.0-rc2-16357
commands
Microsoft.AspNet.Server.WebListener --server.urls=http://:5000/*
Upvotes: 2
Views: 489
Reputation: 31620
You can use schtasks.exe
to schedule a task to start when the system starts.
Upvotes: 2