Added check script for cron