diff --git a/backend/ai_response_processor/main.py b/backend/ai_response_processor/main.py index 151a4992..635c95bf 100644 --- a/backend/ai_response_processor/main.py +++ b/backend/ai_response_processor/main.py @@ -5,7 +5,7 @@ from news.contentqueue import rabbitmq_consumer BASE_DIR = os.path.dirname(os.path.abspath(__file__)) -load_dotenv(os.path.join(BASE_DIR, ".env")) +load_dotenv(os.path.join(BASE_DIR, "scoop-ai-env", ".env")) app = FastAPI() rabbitmq_consumer = rabbitmq_consumer diff --git a/backend/core/src/main/java/com/rollthedice/backend/domain/crawling/NewsCrawlingService.java b/backend/core/src/main/java/com/rollthedice/backend/domain/crawling/NewsCrawlingService.java index 28e72e9e..63ba708f 100644 --- a/backend/core/src/main/java/com/rollthedice/backend/domain/crawling/NewsCrawlingService.java +++ b/backend/core/src/main/java/com/rollthedice/backend/domain/crawling/NewsCrawlingService.java @@ -32,7 +32,7 @@ public class NewsCrawlingService { private final NewsService newsService; @Transactional - @Scheduled(cron = CRON, zone = ZONE) + // @Scheduled(cron = CRON, zone = ZONE) public void scrap() throws IOException { for (NewsCategory category : NewsCategory.values()) { String categoryUrl = MAIN_URL + category.getNum();