Skip to content

Commit

Permalink
Hourly script not correctly executed (#8839)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoBiscosi committed Dec 3, 2024
1 parent 0ebe2b9 commit b03e987
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PeriodicActivities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b03e987

Please sign in to comment.