From 305a29e0e245ed9de1a7f4d32e96634116dcda82 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 4 Aug 2025 11:07:10 +0000 Subject: (김준회) SOAP ECC 개선, 린터 오류 해결, 구매 기준정보(인코텀즈, 지불조건, 장소(출발지, 도착지)) Non-SAP 동기화 처리 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- instrumentation.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'instrumentation.ts') diff --git a/instrumentation.ts b/instrumentation.ts index 97aa6143..db8da371 100644 --- a/instrumentation.ts +++ b/instrumentation.ts @@ -28,5 +28,17 @@ export async function register() { console.error('Failed to start Knox master sync scheduler.'); // 스케줄러 실패해도 애플리케이션은 계속 실행 } + + try { + // Procurement 동기화 스케줄러 시작 (지불조건, 인코텀즈, 선적/하역지) + const { startProcurementSyncScheduler } = await import( + './lib/nonsap-sync/procurement-sync-service' + ); + await startProcurementSyncScheduler(); + + } catch { + console.error('Failed to start Procurement sync scheduler.'); + // 스케줄러 실패해도 애플리케이션은 계속 실행 + } } } -- cgit v1.2.3