change cron method