swap out cron for scheduler