Make starting the scheduled job more robuste by checking the existence
of the portal app