From b03e9873f66a238e947aab2d227b5ba2fa5c1878 Mon Sep 17 00:00:00 2001 From: Matteo Biscosi Date: Tue, 3 Dec 2024 10:17:09 +0100 Subject: [PATCH] Hourly script not correctly executed (#8839) --- src/PeriodicActivities.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/PeriodicActivities.cpp b/src/PeriodicActivities.cpp index 1641c8ab9522..86b74be8bc31 100644 --- a/src/PeriodicActivities.cpp +++ b/src/PeriodicActivities.cpp @@ -100,11 +100,11 @@ void PeriodicActivities::run() { for (u_int16_t i = 0; i < num_sec_min_activities; i++) sec_min_activities[i]->schedule(this, now, false); - if(num_running_hour_day_activities == 0) { - /* At most only one concurrent activity */ - for (u_int16_t i = 0; i < num_hour_day_activities; i++) - hour_day_activities[i]->schedule(this, now, true); - } + //if(num_running_hour_day_activities == 0) { + /* At most only one concurrent activity */ + for (u_int16_t i = 0; i < num_hour_day_activities; i++) + hour_day_activities[i]->schedule(this, now, true); + //} sleep(1); }