fixes bug in user sync process

and fortifies the cron-task controller against total failure in general.