From: thib Date: Thu, 29 Sep 2011 20:56:10 +0000 (+0100) Subject: allow tasks to be run every second X-Git-Tag: ver3_1_0~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef556d7cdee95373fc036850a99b1ffe7bf7f08d;p=fcron allow tasks to be run every second --- diff --git a/fileconf.c b/fileconf.c index 5446fdb..0faf0ac 100644 --- a/fileconf.c +++ b/fileconf.c @@ -1355,7 +1355,7 @@ read_freq(char *ptr, cf_t *cf) /* then cl_timefreq */ if ( (ptr = get_time(ptr, (time_t *) &(cl->cl_timefreq), 0)) == NULL - || cl->cl_timefreq < 10 ) { + || cl->cl_timefreq < 1 ) { fprintf(stderr, "%s:%d: Error while reading frequency %s: skipping line.\n", file_name, line, (cl->cl_timefreq < 10) ? "(lower than 10s) " : ""); goto exiterr;