scron

simple cron daemon
git clone git://git.2f30.org/scron
Log | Files | Refs | README | LICENSE

commit e52ef60eea7fc501dd367cb823f13cf7158bb40f
parent 8c8be8b36a399c461d5e90f166aaed2ce23c8452
Author: sin <sin@2f30.org>
Date:   Thu,  3 Jul 2014 14:35:39 +0100

Add comment to clarify that low == high == -1 means '*'

Diffstat:
Mcrond.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/crond.c b/crond.c @@ -152,6 +152,7 @@ matchentry(struct ctabentry *cte, struct tm *tm) size_t i; for (i = 0; i < LEN(matchtbl); i++) { + /* this is the match-any case, '*' */ if (matchtbl[i].r->low == -1 && matchtbl[i].r->high == -1) continue; if (matchtbl[i].r->high == -1) {