Process Workers
Service installer
At application level there is a folder /process-worker-manager-service. It contains Windows service installer and install.ps1 file. This windows service starts processWorkersManager.ps1
Service name: Productoo-ProcessWorkerManager

processWorkersManager.ps1
This is a main script that is launched by Windows service. It checks and starts individual Processes for each Process worker. If process stops because it reaches its timeout, it is immediately launched again. The check is done every 3 seconds.
This script stops at 1am each day to reset itself.

Windows scheduled task
This scheduled tasks checks every minute if Windows service is running and if not it launches it.

ProcessWorkerServiceChecker.ps1
Script that is used by Windows scheduled task. It checks if Windows service is running and if not it launches it.