From 0cad68336ee1978b9e23346787485bac38d1810d Mon Sep 17 00:00:00 2001 From: Aroosha Pervaiz Date: Tue, 30 Apr 2024 08:04:01 +0200 Subject: [PATCH] A few changes to the cronjobs.. --- docker/frontend/authmap-preprod.sh | 2 +- docker/frontend/authmap-prod.sh | 2 +- docker/frontend/authmap-test.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/frontend/authmap-preprod.sh b/docker/frontend/authmap-preprod.sh index aea60d9ea..0524b0d53 100755 --- a/docker/frontend/authmap-preprod.sh +++ b/docker/frontend/authmap-preprod.sh @@ -5,4 +5,4 @@ echo "authmap-preprod.sh is running" sleep $((RANDOM % 601)) -/data/srv/current/config/frontend/mkauthmap -c /data/srv/current/config/frontend/mkauth.conf -o /data/srv/state/frontend/etc/authmap.json --cert /etc/robots/robotcert.pem --key /etc/robots/robotkey.pem --ca-cert /etc/ssl/certs/CERN-bundle.pem' && '[ $? -ne 0 ] && /bin/bash /data/alerts.sh +/data/srv/current/config/frontend/mkauthmap -c /data/srv/current/config/frontend/mkauth.conf -o /data/srv/state/frontend/etc/authmap.json --cert /etc/robots/robotcert.pem --key /etc/robots/robotkey.pem --ca-cert /etc/ssl/certs/CERN-bundle.pem ; [ $? -ne 0 ] && /bin/bash /data/alerts.sh diff --git a/docker/frontend/authmap-prod.sh b/docker/frontend/authmap-prod.sh index 3c46c4934..bad51cc5a 100755 --- a/docker/frontend/authmap-prod.sh +++ b/docker/frontend/authmap-prod.sh @@ -4,4 +4,4 @@ sleep $((RANDOM % 601)) -/data/srv/current/config/frontend/mkauthmap -c /data/srv/current/config/frontend/mkauth.conf -o /data/srv/state/frontend/etc/authmap.json --cert /etc/robots/robotcert.pem --key /etc/robots/robotkey.pem --ca-cert /etc/ssl/certs/CERN-bundle.pem' && '[ $? -ne 0 ] && /bin/bash /data/alerts.sh +/data/srv/current/config/frontend/mkauthmap -c /data/srv/current/config/frontend/mkauth.conf -o /data/srv/state/frontend/etc/authmap.json --cert /etc/robots/robotcert.pem --key /etc/robots/robotkey.pem --ca-cert /etc/ssl/certs/CERN-bundle.pem ; [ $? -ne 0 ] && /bin/bash /data/alerts.sh diff --git a/docker/frontend/authmap-test.sh b/docker/frontend/authmap-test.sh index 6d17963ec..1d77a9cf6 100755 --- a/docker/frontend/authmap-test.sh +++ b/docker/frontend/authmap-test.sh @@ -3,4 +3,4 @@ # Print a message to indicate the script is running sleep $((RANDOM % 901)) -/data/srv/current/config/frontend/mkauthmap -c /data/srv/current/config/frontend/mkauth.conf -o /data/srv/state/frontend/etc/authmap.json --cert /etc/robots/robotcert.pem --key /etc/robots/robotkey.pem --ca-cert /etc/ssl/certs/CERN-bundle.pem' && '[ $? -ne 0 ] && /bin/bash /data/alerts.sh +/data/srv/current/config/frontend/mkauthmap -c /data/srv/current/config/frontend/mkauth.conf -o /data/srv/state/frontend/etc/authmap.json --cert /etc/robots/robotcert.pem --key /etc/robots/robotkey.pem --ca-cert /etc/ssl/certs/CERN-bundle.pem ; [ $? -ne 0 ] && /bin/bash /data/alerts.sh