add cron method