added cron check