shell 파일 추가
This commit is contained in:
15
shell/rcpmnyCnfirmAtmcMtchgJob.sh
Normal file
15
shell/rcpmnyCnfirmAtmcMtchgJob.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user