From 77e66b8a4f98b243c1863ce4c250cb9072075ae3 Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Wed, 25 Aug 2021 12:16:16 -0300 Subject: [PATCH 1/3] Remove py extension from odl2_import_monitor --- bin/{odl2_import_monitor.py => odl2_import_monitor} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename bin/{odl2_import_monitor.py => odl2_import_monitor} (100%) mode change 100644 => 100755 diff --git a/bin/odl2_import_monitor.py b/bin/odl2_import_monitor old mode 100644 new mode 100755 similarity index 100% rename from bin/odl2_import_monitor.py rename to bin/odl2_import_monitor From e2c80b405329abd0559480ae62b8fdd34fb9485a Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Wed, 25 Aug 2021 12:20:13 -0300 Subject: [PATCH 2/3] Update contab to include new odl + odl2 scripts. --- docker/services/simplified_crontab | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/services/simplified_crontab b/docker/services/simplified_crontab index 9eacc33872..1f15fc7719 100644 --- a/docker/services/simplified_crontab +++ b/docker/services/simplified_crontab @@ -107,8 +107,14 @@ HOME=/var/www/circulation # 0 6 * * * root core/bin/run odl_import_monitor >> /var/log/cron.log 2>&1 0 */8 * * * root core/bin/run odl_hold_reaper >> /var/log/cron.log 2>&1 +0 */15 * * * root core/bin/run odl_reaper >> /var/log/cron.log 2>&1 5 */6 * * * root core/bin/run shared_odl_import_monitor >> /var/log/cron.log 2>&1 +# ODL2 import +# +30 6 * * * root core/bin/run odl2_import_monitor >> /var/log/cron.log 2>&1 +0 */15 * * * root core/bin/run odl2_reaper >> /var/log/cron.log 2>&1 + # Odilo # */15 * * * * root core/bin/run odilo_monitor_recent >> /var/log/cron.log 2>&1 From 8ebd23b82b4c97793f8f9e91a882377568466df3 Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Wed, 25 Aug 2021 13:49:31 -0300 Subject: [PATCH 3/3] Update cron expression --- docker/services/simplified_crontab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/services/simplified_crontab b/docker/services/simplified_crontab index 1f15fc7719..0b5f3f9b24 100644 --- a/docker/services/simplified_crontab +++ b/docker/services/simplified_crontab @@ -107,13 +107,13 @@ HOME=/var/www/circulation # 0 6 * * * root core/bin/run odl_import_monitor >> /var/log/cron.log 2>&1 0 */8 * * * root core/bin/run odl_hold_reaper >> /var/log/cron.log 2>&1 -0 */15 * * * root core/bin/run odl_reaper >> /var/log/cron.log 2>&1 +*/15 * * * * root core/bin/run odl_reaper >> /var/log/cron.log 2>&1 5 */6 * * * root core/bin/run shared_odl_import_monitor >> /var/log/cron.log 2>&1 # ODL2 import # 30 6 * * * root core/bin/run odl2_import_monitor >> /var/log/cron.log 2>&1 -0 */15 * * * root core/bin/run odl2_reaper >> /var/log/cron.log 2>&1 +*/15 * * * * root core/bin/run odl2_reaper >> /var/log/cron.log 2>&1 # Odilo #