set the cron to the correct time