#!/bin/bash
##
## run_resolve.sh - rc_resolve_batch 실행.
## 운영 스크립트: Enduro/X + ECPG/XA 런타임 환경을 설정하고 rc 배치를 실행.
##   Usage: run_resolve.sh [BIZDATE]
##
set -e
. /app/conf/setapp.sh

BIZDATE="${1:-2026-07-19}"

echo "[run_resolve.sh] mod=rc BIZDATE=$BIZDATE -> rc_resolve_batch"
exec /app/bin/rc_resolve_batch "$BIZDATE"
