I was hoping to use Publish-UDDashboard to run my dashboard script as a Windows Service, so it can run indefinitely without needing to manually start it on the Windows Server it’s running on.
The windows service gets created and starts with no issues, however the scheduled endpoint that I have configured either doesn’t run, or something else is going on. I’m using scheduled endpoints to take advantage of cached variables.
Any ideas? Open to any suggestions at this point. Wanted to avoid having to configure and manage IIS. Thanks!
Start-UDDashboard -Dashboard $Dashboard -Port 443 -Endpoint @($EveryFourHours)