Adding cron endpoint