add validate to cron method