1From 1fd99b71b063b1573beaf9f6b801ec5be2fbe24f Mon Sep 17 00:00:00 2001 2From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> 3Date: Fri, 2 Sep 2022 23:20:14 +0200 4Subject: [PATCH] Make @hourly, @daily, ... work again 5 6closes #15 7 8Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> 9Upstream: https://github.com/dubiousjim/dcron/pull/35 10--- 11 database.c | 2 ++ 12 1 file changed, 2 insertions(+) 13 14diff --git a/database.c b/database.c 15index 37cf17a..6ec720e 100644 16--- a/database.c 17+++ b/database.c 18@@ -455,6 +455,8 @@ SynchronizeFile(const char *dpath, const char *fileName, const char *userName) 19 line.cl_Days[j] = 1; 20 for (j=0; j<12; ++j) 21 line.cl_Mons[j] = 1; 22+ for (j=0; j<7; ++j) 23+ line.cl_Dow[j] = ALL_DOW; 24 } 25 26 while (*ptr == ' ' || *ptr == '\t') 27-- 282.35.1 29