장 종료 후, goodEvening() 이라는 함수를 트리거로 실행시킨다. function goodEvening() { // 종가 확인 const dayBoolean = getTodayDay(); if ( dayBoolean ) { sendStockClosingPrice(); sendKospiClosingPrice(); } } /** * 요일 가져오기. 주중/주말 구분 */ function getTodayDay() { const curr = new Date(); const utc = curr.getTime() + (curr.getTimezoneOffset() * 60 * 1000); const KR_TIME_DIFF = 9 * 60 * 60 * 1000; const today = new Date(utc ..