I have a background (headless) app set to start at StartUp but after long execution sometimes the app stops. Clearly I need to investigate this stoppage, but I would like this app to run like a windows service, so that if it stops for ANY reason, the windows runtime should start the app up again.
I am about to investigate a script or separate app running on a timer to check if the main process is running and restart if necessary but I was under the impression that this auto-restart was a feature of the IoT Core runtime.
Does anyone know how to get background apps to restart automatically after failure or of a simple solution to replicate this functionality?