0002-system-crontab.patch 819 B

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