public void run() { // 1. 현재 년월로 결과테이블이 있는지 확인하고 없다면 만들어주라 . String yearMonth = DateUtils.getYearMonth(); String tableName = autoSMSSendController.createSendResult(yearMonth); if (tableName == null || tableName.equals("")) { logger.error("Faild to create tm_autosms_sendresult_" + yearMonth); return; } sendSMS(yearMonth); }