From: Thibault Godouet 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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4f949efbee9f947719d059c178a6fec199ec18;p=thirdparty%2Ffcron.git 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;