[IMP]set default value and imporve cron job function