폴더 생성 태스크 while (true) 현재 요일 폴더 있는지 확인함 없으면 생성 현재 시간과 오늘 오후 11:59 시간 차이 계산 시간 차이만큼 sleep 폴더 제거 태스크 while (true) 설정된 시간 (한 달)보다 더 오래된 폴더 제거 현재 시간과 다음 날 0:00 시간 차이 계산 시간 차이만큼 sleep try { string firstHttpFolderPath = "." + "/" + DateTime.Now.ToString("yyyyMMdd"); DirectoryInfo firstDi = new DirectoryInfo(firstHttpFolderPath); if (firstDi.Exists == false) { firstDi.Create(); } Task.Factory.StartNew(..