From 4fe7399c65c8768c731d29eaf908f56cfcbded19 Mon Sep 17 00:00:00 2001
From: Santeri Hurnanen <santeri.hurnanen@fame.fi>
Date: Fri, 2 Aug 2024 15:18:46 +0300
Subject: [PATCH] Add cron entrypoint script

---
 src/Drush/Commands/UpdateDrushCommands.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Drush/Commands/UpdateDrushCommands.php b/src/Drush/Commands/UpdateDrushCommands.php
index c431783..5aeabe7 100644
--- a/src/Drush/Commands/UpdateDrushCommands.php
+++ b/src/Drush/Commands/UpdateDrushCommands.php
@@ -258,6 +258,8 @@ private function updateDefaultFiles(UpdateOptions $options) : self {
         'docker/openshift/crons/purge-queue.sh',
         'docker/openshift/crons/update-translations.sh',
         'docker/openshift/crons/pubsub.sh',
+        'docker/openshift/crons/cron.sh',
+        'docker/openshift/cron-entrypoint.sh',
         'docker/openshift/preflight/preflight.php',
         'docker/openshift/notify.php',
         'compose.yaml',
@@ -293,7 +295,6 @@ private function updateDefaultFiles(UpdateOptions $options) : self {
    */
   private function addDefaultFiles(UpdateOptions $options) : self {
     $this->fileManager->addFiles($options, [
-      'docker/openshift/crons/base.sh' => ['remote' => TRUE],
       'public/sites/default/all.settings.php' => ['remote' => TRUE],
       'phpstan.neon' => ['remote' => TRUE],
     ]);