Moved the crontask of rex.