Corrected the errors with the cron launching rex.