]> granicus.if.org Git - fcron/commitdiff
allow tasks to be run every second
authorthib <thib@berseker.(none)>
Thu, 29 Sep 2011 20:56:10 +0000 (21:56 +0100)
committerthib <thib@berseker.(none)>
Thu, 29 Sep 2011 21:06:07 +0000 (22:06 +0100)
fileconf.c

index 5446fdbcd85332309d451d60848d6dc4aa6624d1..0faf0ac0d5804d7ffa113a4809c35ca348fd45ab 100644 (file)
@@ -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;