shell 파일 추가

This commit is contained in:
김현욱
2026-01-15 15:05:30 +09:00
parent b68aa39bfb
commit 92a1a9b58d
53 changed files with 468 additions and 268 deletions

15
shell/posJob_run.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
JOB_NAME="posJob"
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