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

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

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