Adding cron controller