add localhost constraints to cron route