diff --git a/apps/backend/scripts/check.sh b/apps/backend/scripts/check.sh index 41d149d..a58fb89 100644 --- a/apps/backend/scripts/check.sh +++ b/apps/backend/scripts/check.sh @@ -2,7 +2,7 @@ set -e # Exit on any error echo "Starting Check Annunci job..." -if curl -f --connect-timeout 30 --max-time 300 "http://web:3000/api/trpc/annunci.checkAnnunci"; then +if curl -sS -f --connect-timeout 30 --max-time 300 "http://web:3000/api/trpc/annunci.checkAnnunci"; then echo "Check Annunci job completed successfully" else echo "Failed to Check Annunci" >&2 diff --git a/apps/backend/scripts/update.sh b/apps/backend/scripts/update.sh index 898fdcf..1a18b8a 100644 --- a/apps/backend/scripts/update.sh +++ b/apps/backend/scripts/update.sh @@ -2,7 +2,7 @@ set -e # Exit on any error echo "Starting Update job..." -if curl -f --connect-timeout 30 --max-time 300 "http://localhost:1323/update"; then +if curl -sS -f --connect-timeout 30 --max-time 300 "http://localhost:1323/update"; then echo "Update job completed successfully" else echo "Failed to Update" >&2