make a small boot service to check ScannerJob registration.
If /e/ Drive crash or is killed, the scheduled job is killed with the app. Causing /e/ Drive to never restart.
The scheduledJob is done to be persisted through reboot.
Add a small service which start only at boot and which check that /e/ Drive scheduledJob is registered. If not, register it.
Extra: I'll also use this small service to turn to false the preference "OMS_is_Running". Then if the app crash before it's turn to false, user just could restart to solve the issue.