From b879a739ee4e9f81e32bccd8279e118875a55657 Mon Sep 17 00:00:00 2001 From: Santeri Hurnanen Date: Fri, 11 Oct 2024 14:27:24 +0300 Subject: [PATCH 1/2] UHF-10354: Remove base.sh --- docker/openshift/crons/base.sh | 36 ---------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 docker/openshift/crons/base.sh diff --git a/docker/openshift/crons/base.sh b/docker/openshift/crons/base.sh deleted file mode 100644 index 626d60d9b..000000000 --- a/docker/openshift/crons/base.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -source /init.sh - -echo "Starting cron: $(date)" - -# You can add any additional cron "daemons" here: -# -# exec "/crons/some-command.sh" & -# -# Example cron (docker/openshift/crons/some-command.sh): -# @code -# #!/bin/bash -# while true -# do -# drush some-command -# sleep 600 -# done -# @endcode - -exec "/crons/migrate-tpr.sh" & -exec "/crons/purge-queue.sh" & -exec "/crons/update-translations.sh" & -exec "/crons/content-scheduler.sh" & -exec "/crons/invalidate-tags-kymp.sh" & -exec "/crons/pubsub.sh" & -exec "/crons/street-data.sh" & -exec "/crons/linked-events.sh" & - -while true -do - echo "Running cron: $(date +'%Y-%m-%dT%H:%M:%S%:z')\n" - drush cron - # Sleep for 10 minutes. - sleep 600 -done From 7664fa9fc5fb3fb71b62731eaa4ee93c8535b4f4 Mon Sep 17 00:00:00 2001 From: Santeri Hurnanen Date: Fri, 11 Oct 2024 14:27:34 +0300 Subject: [PATCH 2/2] UHF-10354: Remove migrate-hearings.sh --- docker/openshift/crons/migrate-hearings.sh | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 docker/openshift/crons/migrate-hearings.sh diff --git a/docker/openshift/crons/migrate-hearings.sh b/docker/openshift/crons/migrate-hearings.sh deleted file mode 100644 index 9cbea0854..000000000 --- a/docker/openshift/crons/migrate-hearings.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -echo "Starting hearings migration: $(date)" - -while true -do - drush mim helfi_hearings --reset-threshold 43200 --interval 1800 - sleep 900 -done