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)
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>
* `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 $ */
/*
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 */
* `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 :
*/
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))