change cron endpoint in config