]> granicus.if.org Git - fcron/commitdiff
*** empty log message ***
authorthib <thib>
Sun, 24 Jun 2007 21:58:46 +0000 (21:58 +0000)
committerthib <thib>
Sun, 24 Jun 2007 21:58:46 +0000 (21:58 +0000)
configure.in
doc/en/changes.sgml
global.h
option.h

index e885672c98530dcc51dc870c3531b11ea47aba01..36dd5fbea3295f690e0b8a155d4ea8e5d3f4005f 100644 (file)
@@ -9,7 +9,7 @@ AC_INIT(allow.c)
 AC_CONFIG_HEADER(config.h)
 AC_PREREQ(2.57)
 
-vers="3.0.3"
+vers="3.0.4"
 vers_quoted="\"$vers\""
 AC_DEFINE_UNQUOTED(VERSION, $vers)
 AC_DEFINE_UNQUOTED(VERSION_QUOTED, $vers_quoted)
index cb536c933db085d964547c4e2861c1f420af6638..ff8c734e8d86945da8644697debbcc3e703ccdf8 100644 (file)
@@ -8,11 +8,24 @@ Foundation.
 A copy of the license is included in gfdl.sgml.
 -->
 
-<!-- $Id: changes.sgml,v 1.54 2007-06-03 17:54:10 thib Exp $ -->
+<!-- $Id: changes.sgml,v 1.55 2007-06-24 22:03:19 thib Exp $ -->
 
    <sect1 id="changes">
       <title>Changes</title>
 
+      <itemizedlist>
+        <title>From version 3.0.3 to 3.0.4</title>
+        <listitem>
+           <para>Initialize the random number generator with some values specific to the machine so as two fcron started exactly at the same time on two different machines run their random jobs at different time. This is useful for clusters for instance.</para>
+        </listitem>
+        <listitem>
+           <para>Bug fix: in certain conditions, jobs could be executed outside their interval of execution when using option random on %-lines.</para>
+        </listitem>
+        <listitem>
+           <para></para>
+        </listitem>
+      </itemizedlist>
+
       <itemizedlist>
         <title>From version 3.0.3-rc1 to 3.0.3</title>
         <listitem>
index cce89d137d579648e107a976aef1e18dc1ad609a..171667352fd3248f1b8fc693e7e5685567a190bb 100644 (file)
--- a/global.h
+++ b/global.h
@@ -21,7 +21,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: global.h,v 1.50 2007-06-03 17:51:50 thib Exp $ */
+ /* $Id: global.h,v 1.51 2007-06-24 22:01:49 thib Exp $ */
 
 
 /* 
@@ -203,7 +203,7 @@ typedef struct cl_t {
     time_t         cl_nextexe;    /* time and date of the next execution     */
     long int       cl_timefreq;   /* Run every n seconds                     */
     unsigned short cl_remain;     /* remaining until next execution          */
-    unsigned short cl_runfreq;    /* Run once every n matches                */
+    unsigned short cl_runfreq;    /* Run once every n matches(=1 for %-lines)*/
     unsigned char  cl_option[OPTION_SIZE]; /* line's option (see option.h)   */
     unsigned char  cl_lavg[LAVG_SIZE];/*load averages needed (1,5,15 mins)   */
     unsigned char  cl_numexe;     /* entries in queues & running processes   */
index 3c017a7548d8dccbd595dbfab15875c63ee3b636..807604665e89d62d00ec4a6b9ffaeeb2000b6dfe 100644 (file)
--- a/option.h
+++ b/option.h
@@ -21,7 +21,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: option.h,v 1.25 2007-04-14 18:04:26 thib Exp $ */
+ /* $Id: option.h,v 1.26 2007-06-24 22:03:16 thib Exp $ */
 
 /* This has been inspired from bitstring(3) : here is the original copyright :
  */
@@ -80,7 +80,7 @@
   16     should mons field be ignored in goto_non_matching() ?
   17     should dow field be ignored in goto_non_matching() ?
   18     First freq is the freq (*ly) or the first field to take into account ?
-  19     Freq (ie daily) is from middle to middle of interval (ie nightly) ?
+  19     Freq (ie daily) is from middle to middle of period (ie nightly) ?
   20     Should we remove a %-job from lavg queue if the interval is exceeded ?
   21     Should user be mailed if a %-job has not run during a period ?
   22     Should fcron log everything about this job or just errors ?
 
 
 /*
-  bit 19 : set to 1 : run once from mid-interval to mid-interval (i.e. nightly)
-           set to 0 : run once from begin to the end of interval (i.e. daily)
+  bit 19 : set to 1 : run once from mid-period to mid-period (i.e. nightly)
+           set to 0 : run once from begin to the end of period (i.e. daily)
 */
 #define        is_freq_mid(opt) \
        (_bit_test(opt, 19))