Files
sake_batch/shell/rcpmnyCnfirmAtmcMtchgJob.sh
2026-01-15 15:05:30 +09:00

16 lines
328 B
Bash

#!/bin/sh
JOB_NAME="rcpmnyCnfirmAtmcMtchgJob"
HOST="10.100.241.11"
PORT="18210"
curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json"
#result
if [$? -eq 0];then
echo "Batch job ${JOB_NAME} executed successfully"
else
echo "Failed to execute batch job ${JOB_NAME}."
fi