diff --git a/shell/analysisErpGoodsJob.sh b/shell/analysisErpGoodsJob.sh new file mode 100644 index 0000000..96e0b42 --- /dev/null +++ b/shell/analysisErpGoodsJob.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +JOB_NAME="analysisErpGoodsJob" + +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 + diff --git a/shell/analysisOrderListJob.sh b/shell/analysisOrderListJob.sh new file mode 100644 index 0000000..6278599 --- /dev/null +++ b/shell/analysisOrderListJob.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="analysisOrderListJob" + +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 diff --git a/shell/appPushJob_run.sh b/shell/appPushJob_run.sh index 285d778..915c1fe 100644 --- a/shell/appPushJob_run.sh +++ b/shell/appPushJob_run.sh @@ -1,18 +1,15 @@ #!/bin/sh -# JOB_NAME을 sampleJob으로 설정 JOB_NAME="appPushJob" -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" -# REST API 호출 curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." +#result +if [$? -eq 0];then + echo "Batch job ${JOB_NAME} executed successfully" else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/atmcPurchsDcsnJob.sh b/shell/atmcPurchsDcsnJob.sh new file mode 100644 index 0000000..a0935d9 --- /dev/null +++ b/shell/atmcPurchsDcsnJob.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="atmcPurchsDcsnJob" + +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 diff --git a/shell/atmcPurchsDscnJob.sh b/shell/atmcPurchsDscnJob.sh deleted file mode 100644 index e475da0..0000000 --- a/shell/atmcPurchsDscnJob.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="atmcPurchsDcsnJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/autodepositCronJob.sh b/shell/autodepositCronJob.sh new file mode 100644 index 0000000..975d218 --- /dev/null +++ b/shell/autodepositCronJob.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="autodepositCronJob" + +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 diff --git a/shell/changeDlvySttusJob.sh b/shell/changeDlvySttusJob.sh index 8fbc078..511e647 100644 --- a/shell/changeDlvySttusJob.sh +++ b/shell/changeDlvySttusJob.sh @@ -1,18 +1,15 @@ #!/bin/sh -# JOB_NAME을 sampleJob으로 설정 JOB_NAME="changeDlvySttusJob" -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" -# REST API 호출 curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." +#result +if [$? -eq 0];then + echo "Batch job ${JOB_NAME} executed successfully" else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/clearPersonalInfoShopJob.sh b/shell/clearPersonalInfoShopJob.sh new file mode 100644 index 0000000..10da0df --- /dev/null +++ b/shell/clearPersonalInfoShopJob.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="clearPersonalInfoShopJob" + +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 diff --git a/shell/crmGetExtOrdrJob_run.sh b/shell/crmGetExtOrdrJob_run.sh index 1ea33bc..3029207 100644 --- a/shell/crmGetExtOrdrJob_run.sh +++ b/shell/crmGetExtOrdrJob_run.sh @@ -1,18 +1,15 @@ #!/bin/sh -# JOB_NAME을 sampleJob으로 설정 JOB_NAME="crmGetExtOrdrJob" -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" -# REST API 호출 curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." +#result +if [$? -eq 0];then + echo "Batch job ${JOB_NAME} executed successfully" else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/crontab.txt b/shell/crontab.txt deleted file mode 100644 index ffa03a7..0000000 --- a/shell/crontab.txt +++ /dev/null @@ -1,2 +0,0 @@ -# 시퀀스 초기화(일배치) - 매일 00시 00분 -* * * * * cd /home/batch_shell/shell; ./sampleJob_run.sh > /dev/null 2>&1 diff --git a/shell/cshRciptRegistJob.sh b/shell/cshRciptRegistJob.sh new file mode 100644 index 0000000..d2346bc --- /dev/null +++ b/shell/cshRciptRegistJob.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="cshRciptRegistJob" + +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 diff --git a/shell/epJob_run.sh b/shell/epJob_run.sh new file mode 100644 index 0000000..bdfd297 --- /dev/null +++ b/shell/epJob_run.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="epJob" + +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 diff --git a/shell/giftOrderCancelJob_run.sh b/shell/giftOrderCancelJob_run.sh new file mode 100644 index 0000000..3244af1 --- /dev/null +++ b/shell/giftOrderCancelJob_run.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="giftOrderCancelJob" + +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 diff --git a/shell/logJob_run.sh b/shell/logJob_run.sh new file mode 100644 index 0000000..62fc224 --- /dev/null +++ b/shell/logJob_run.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="logJob" + +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 diff --git a/shell/mbrGradUpdtJob_run.sh b/shell/mbrGradUpdtJob_run.sh index 3f682c3..23e4cb4 100644 --- a/shell/mbrGradUpdtJob_run.sh +++ b/shell/mbrGradUpdtJob_run.sh @@ -1,18 +1,15 @@ #!/bin/sh -# JOB_NAME을 sampleJob으로 설정 JOB_NAME="mbrGradUpdtJob" -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" -# REST API 호출 curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." +#result +if [$? -eq 0];then + echo "Batch job ${JOB_NAME} executed successfully" else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/npayRvwJob_run.sh b/shell/mlgExpUpdtStatusJob_run.sh similarity index 88% rename from shell/npayRvwJob_run.sh rename to shell/mlgExpUpdtStatusJob_run.sh index f8bd097..9859b61 100644 --- a/shell/npayRvwJob_run.sh +++ b/shell/mlgExpUpdtStatusJob_run.sh @@ -1,10 +1,10 @@ #!/bin/sh # JOB_NAME을 sampleJob으로 설정 -JOB_NAME="npayRvwJob" +JOB_NAME="mlgExpUpdtStatus" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 diff --git a/shell/mqGetMbrAppnJob_run.sh b/shell/mqGetMbrAppnJob_run.sh index 9d23114..966a4e0 100644 --- a/shell/mqGetMbrAppnJob_run.sh +++ b/shell/mqGetMbrAppnJob_run.sh @@ -1,18 +1,16 @@ + #!/bin/sh -# JOB_NAME을 sampleJob으로 설정 JOB_NAME="mqGetMbrAppnJob" -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" -# REST API 호출 curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." +#result +if [$? -eq 0];then + echo "Batch job ${JOB_NAME} executed successfully" else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mqReq30DeleteJob.sh b/shell/mqReq30DeleteJob.sh index 2413d80..c6d5c47 100644 --- a/shell/mqReq30DeleteJob.sh +++ b/shell/mqReq30DeleteJob.sh @@ -1,18 +1,15 @@ #!/bin/sh -# JOB_NAME을 sampleJob으로 설정 JOB_NAME="mqReq30DeleteJob" -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" -# REST API 호출 curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." +#result +if [$? -eq 0];then + echo "Batch job ${JOB_NAME} executed successfully" else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mqSelectPuriOrderListJob_run.sh b/shell/mqSelectPuriOrderListJob_run.sh new file mode 100644 index 0000000..38cfcd5 --- /dev/null +++ b/shell/mqSelectPuriOrderListJob_run.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +JOB_NAME="mqSelectPuriOrderListJob" + +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 + diff --git a/shell/mssageCartJob_run.sh b/shell/mssageCartJob_run.sh index 244ddf6..389edc1 100644 --- a/shell/mssageCartJob_run.sh +++ b/shell/mssageCartJob_run.sh @@ -4,7 +4,7 @@ JOB_NAME="mssageCartJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/mssageCartSaleEndJob_run.sh b/shell/mssageCartSaleEndJob_run.sh new file mode 100644 index 0000000..88312aa --- /dev/null +++ b/shell/mssageCartSaleEndJob_run.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# JOB_NAME을 sampleJob으로 설정 +JOB_NAME="mssageCartSaleEndJob" + +# Tomcat이 실행 중인 호스트와 포트 +HOST="10.100.241.11" +PORT="18210" + +# REST API 호출 +curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" + +# 결과 확인 +if [ $? -eq 0 ]; then + echo "Batch job ${JOB_NAME} executed successfully." +else + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mssageCertCouponBirthdayJob_run.sh b/shell/mssageCertCouponBirthdayJob_run.sh new file mode 100644 index 0000000..c1fc8ca --- /dev/null +++ b/shell/mssageCertCouponBirthdayJob_run.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# JOB_NAME을 sampleJob으로 설정 +JOB_NAME="mssageCertCouponBirthdayJob" + +# Tomcat이 실행 중인 호스트와 포트 +HOST="10.100.241.11" +PORT="18210" + +# REST API 호출 +curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" + +# 결과 확인 +if [ $? -eq 0 ]; then + echo "Batch job ${JOB_NAME} executed successfully." +else + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mssageCouponBirthdayJob_run.sh b/shell/mssageCouponBirthdayJob_run.sh new file mode 100644 index 0000000..52278df --- /dev/null +++ b/shell/mssageCouponBirthdayJob_run.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# JOB_NAME을 sampleJob으로 설정 +JOB_NAME="mssageCouponBirthdayJob" + +# Tomcat이 실행 중인 호스트와 포트 +HOST="10.100.241.11" +PORT="18210" + +# REST API 호출 +curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" + +# 결과 확인 +if [ $? -eq 0 ]; then + echo "Batch job ${JOB_NAME} executed successfully." +else + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mssageCouponEndJob_run.sh b/shell/mssageCouponEndJob_run.sh index 01b746f..3edf944 100644 --- a/shell/mssageCouponEndJob_run.sh +++ b/shell/mssageCouponEndJob_run.sh @@ -4,7 +4,7 @@ JOB_NAME="mssageCouponEndJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/mssageCouponMbrGradJob_run.sh b/shell/mssageCouponMbrGradJob_run.sh new file mode 100644 index 0000000..6d2c425 --- /dev/null +++ b/shell/mssageCouponMbrGradJob_run.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# JOB_NAME을 sampleJob으로 설정 +JOB_NAME="mssageCouponMbrGradJob" + +# Tomcat이 실행 중인 호스트와 포트 +HOST="10.100.241.11" +PORT="18210" + +# REST API 호출 +curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" + +# 결과 확인 +if [ $? -eq 0 ]; then + echo "Batch job ${JOB_NAME} executed successfully." +else + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mssageDepositRequestJob_run.sh b/shell/mssageDepositRequestJob_run.sh index f6ff674..1bc6dad 100644 --- a/shell/mssageDepositRequestJob_run.sh +++ b/shell/mssageDepositRequestJob_run.sh @@ -4,7 +4,7 @@ JOB_NAME="mssageDepositRequestJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/mssageGconeMlgExpJob_run.sh b/shell/mssageGconeMlgExpJob_run.sh new file mode 100644 index 0000000..b498193 --- /dev/null +++ b/shell/mssageGconeMlgExpJob_run.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# JOB_NAME을 sampleJob으로 설정 +JOB_NAME="mssageGconeMlgExpJob" + +# Tomcat이 실행 중인 호스트와 포트 +HOST="10.100.241.11" +PORT="18210" + +# REST API 호출 +curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" + +# 결과 확인 +if [ $? -eq 0 ]; then + echo "Batch job ${JOB_NAME} executed successfully." +else + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mssageGiftDlvyAddrJob_run.sh b/shell/mssageGiftDlvyAddrJob_run.sh new file mode 100644 index 0000000..6761157 --- /dev/null +++ b/shell/mssageGiftDlvyAddrJob_run.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# JOB_NAME을 sampleJob으로 설정 +JOB_NAME="mssageGiftDlvyAddrJob" + +# Tomcat이 실행 중인 호스트와 포트 +HOST="10.100.241.11" +PORT="18210" + +# REST API 호출 +curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" + +# 결과 확인 +if [ $? -eq 0 ]; then + echo "Batch job ${JOB_NAME} executed successfully." +else + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mssageRvwJob_run.sh b/shell/mssageLgqySndJob_run.sh similarity index 88% rename from shell/mssageRvwJob_run.sh rename to shell/mssageLgqySndJob_run.sh index fac2ac2..858157d 100644 --- a/shell/mssageRvwJob_run.sh +++ b/shell/mssageLgqySndJob_run.sh @@ -1,10 +1,10 @@ #!/bin/sh # JOB_NAME을 sampleJob으로 설정 -JOB_NAME="mssageRvwJob" +JOB_NAME="mssageLgqySndJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/mssageMbrGradUpdtJob_run.sh b/shell/mssageMarktAgreJob_run.sh similarity index 87% rename from shell/mssageMbrGradUpdtJob_run.sh rename to shell/mssageMarktAgreJob_run.sh index 82942b9..8b88f98 100644 --- a/shell/mssageMbrGradUpdtJob_run.sh +++ b/shell/mssageMarktAgreJob_run.sh @@ -1,10 +1,10 @@ #!/bin/sh # JOB_NAME을 sampleJob으로 설정 -JOB_NAME="mssageUpdtSttusJob" +JOB_NAME="mssageMarktAgreJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/mssageMlgExpJob_run.sh b/shell/mssageMlgExpJob_run.sh index e22635c..f0c999d 100644 --- a/shell/mssageMlgExpJob_run.sh +++ b/shell/mssageMlgExpJob_run.sh @@ -4,7 +4,7 @@ JOB_NAME="mssageMlgExpJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/mssageNonMbrMarktAgreJob_run.sh b/shell/mssageNonMbrMarktAgreJob_run.sh new file mode 100644 index 0000000..e807736 --- /dev/null +++ b/shell/mssageNonMbrMarktAgreJob_run.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# JOB_NAME을 sampleJob으로 설정 +JOB_NAME="mssageNonMbrMarktAgreJob" + +# Tomcat이 실행 중인 호스트와 포트 +HOST="10.100.241.11" +PORT="18210" + +# REST API 호출 +curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" + +# 결과 확인 +if [ $? -eq 0 ]; then + echo "Batch job ${JOB_NAME} executed successfully." +else + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/mssagePuriOrderCancelJob_run.sh b/shell/mssagePuriOrderCancelJob_run.sh new file mode 100644 index 0000000..34200db --- /dev/null +++ b/shell/mssagePuriOrderCancelJob_run.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +JOB_NAME="mssagePuriOrderCancelJob" + +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 + diff --git a/shell/mssageSendPuriAllimJob_run.sh b/shell/mssageSendPuriAllimJob_run.sh new file mode 100644 index 0000000..cf213a4 --- /dev/null +++ b/shell/mssageSendPuriAllimJob_run.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +JOB_NAME="mssageSendPuriAllimJob" + +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 + diff --git a/shell/mssageSetAllimJob_run.sh b/shell/mssageSetAllimJob_run.sh new file mode 100644 index 0000000..575e4da --- /dev/null +++ b/shell/mssageSetAllimJob_run.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +JOB_NAME="mssageSetAllimJob" + +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 + diff --git a/shell/mssageUpdtSttusJob_run.sh b/shell/mssageUpdtSttusJob_run.sh index 82942b9..3646bb2 100644 --- a/shell/mssageUpdtSttusJob_run.sh +++ b/shell/mssageUpdtSttusJob_run.sh @@ -4,7 +4,7 @@ JOB_NAME="mssageUpdtSttusJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/nonMbrTrgtJob_run.sh b/shell/nonMbrTrgtJob_run.sh deleted file mode 100644 index f712d20..0000000 --- a/shell/nonMbrTrgtJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="nonMbrTrgtJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/orderCancelJob.sh b/shell/orderCancelJob.sh new file mode 100644 index 0000000..c9a8c76 --- /dev/null +++ b/shell/orderCancelJob.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="orderCancelJob" + +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 diff --git a/shell/posJob.sh b/shell/posJob.sh new file mode 100644 index 0000000..260ec94 --- /dev/null +++ b/shell/posJob.sh @@ -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 diff --git a/shell/posJob_run.sh b/shell/posJob_run.sh new file mode 100644 index 0000000..260ec94 --- /dev/null +++ b/shell/posJob_run.sh @@ -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 diff --git a/shell/rcpmnyCnfirmAtmcMtchgJob.sh b/shell/rcpmnyCnfirmAtmcMtchgJob.sh new file mode 100644 index 0000000..c7acdd5 --- /dev/null +++ b/shell/rcpmnyCnfirmAtmcMtchgJob.sh @@ -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 diff --git a/shell/sampleJob_run.sh b/shell/sampleJob_run.sh index 73b48ad..8f5a553 100644 --- a/shell/sampleJob_run.sh +++ b/shell/sampleJob_run.sh @@ -4,7 +4,7 @@ JOB_NAME="sampleJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/mssageCartSaleJob_run.sh b/shell/scheduleSttusJob_run.sh similarity index 88% rename from shell/mssageCartSaleJob_run.sh rename to shell/scheduleSttusJob_run.sh index d242e48..1b69b52 100644 --- a/shell/mssageCartSaleJob_run.sh +++ b/shell/scheduleSttusJob_run.sh @@ -1,10 +1,10 @@ #!/bin/sh # JOB_NAME을 sampleJob으로 설정 -JOB_NAME="mssageCartSaleJob" +JOB_NAME="scheduleSttusJob" # Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" # REST API 호출 @@ -15,4 +15,4 @@ if [ $? -eq 0 ]; then echo "Batch job ${JOB_NAME} executed successfully." else echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file +fi diff --git a/shell/strStockUpdtJob_run.sh b/shell/strStockUpdtJob_run.sh index 0244f94..1f79740 100644 --- a/shell/strStockUpdtJob_run.sh +++ b/shell/strStockUpdtJob_run.sh @@ -1,18 +1,16 @@ + #!/bin/sh -# JOB_NAME을 sampleJob으로 설정 JOB_NAME="strStockUpdtJob" -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" +HOST="10.100.241.11" PORT="18210" -# REST API 호출 curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." +#result +if [$? -eq 0];then + echo "Batch job ${JOB_NAME} executed successfully" else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file + echo "Failed to execute batch job ${JOB_NAME}." +fi diff --git a/shell/strUpdtJob.sh b/shell/strUpdtJob.sh deleted file mode 100644 index d5bf79b..0000000 --- a/shell/strUpdtJob.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="strUpdtJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/strUpdtJob_run.sh b/shell/strUpdtJob_run.sh new file mode 100644 index 0000000..de2565a --- /dev/null +++ b/shell/strUpdtJob_run.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +JOB_NAME="strUpdtJob" + +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 diff --git a/shell/tmpTrgtCartJob_run.sh b/shell/tmpTrgtCartJob_run.sh deleted file mode 100644 index 2b8f1e5..0000000 --- a/shell/tmpTrgtCartJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="tmpTrgtCartJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/tmpTrgtCartSaleJob_run.sh b/shell/tmpTrgtCartSaleJob_run.sh deleted file mode 100644 index 2b8f1e5..0000000 --- a/shell/tmpTrgtCartSaleJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="tmpTrgtCartJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/tmpTrgtCouponEndJob_run.sh b/shell/tmpTrgtCouponEndJob_run.sh deleted file mode 100644 index 2ce6edb..0000000 --- a/shell/tmpTrgtCouponEndJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="tmpTrgtCouponEndJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/tmpTrgtDepositRequestJob_run.sh b/shell/tmpTrgtDepositRequestJob_run.sh deleted file mode 100644 index 0af3cbc..0000000 --- a/shell/tmpTrgtDepositRequestJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="tmpTrgtDepositRequestJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/tmpTrgtMlgExpJob_run.sh b/shell/tmpTrgtMlgExpJob_run.sh deleted file mode 100644 index 1cf29b2..0000000 --- a/shell/tmpTrgtMlgExpJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="tmpTrgtMlgExpJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/tmpTrgtNonMbrMarktAgreJob_run.sh b/shell/tmpTrgtNonMbrMarktAgreJob_run.sh deleted file mode 100644 index d0a9abf..0000000 --- a/shell/tmpTrgtNonMbrMarktAgreJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="tmpTrgtNonMbrMarktAgreJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file diff --git a/shell/tmpTrgtRvwJob_run.sh b/shell/tmpTrgtRvwJob_run.sh deleted file mode 100644 index 9ff74bb..0000000 --- a/shell/tmpTrgtRvwJob_run.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# JOB_NAME을 sampleJob으로 설정 -JOB_NAME="tmpTrgtRvwJob" - -# Tomcat이 실행 중인 호스트와 포트 -HOST="172.31.20.11" -PORT="18210" - -# REST API 호출 -curl -X POST "http://${HOST}:${PORT}/gcone_batch/batch/run/${JOB_NAME}" -H "Content-Type: application/json" - -# 결과 확인 -if [ $? -eq 0 ]; then - echo "Batch job ${JOB_NAME} executed successfully." -else - echo "Failed to execute batch job ${JOB_NAME}." -fi \ No newline at end of file