A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: changes.sgml,v 1.51 2007-04-14 17:04:13 thib Exp $ -->
+<!-- $Id: changes.sgml,v 1.52 2007-04-14 17:46:42 thib Exp $ -->
<sect1 id="changes">
<title>Changes</title>
<listitem>
<para>Chmod()ed fcron's fifo file to 777. It was 666 previously, but the exec bit is needed for AIX and apparently ignored on other platforms, so we now set it to.</para>
</listitem>
+ <listitem>
+ <para>Set TZ environment variable for lines which uses fcron option timezone.</para>
+ </listitem>
<listitem>
<para>A file was closed twice by fcrontab: removed the duplicate close().</para>
</listitem>
<para>Fixed a fcrontab bug cause by an return value not handled and resulting in many useless (but pretty much harmless) iteration in a loop.</para>
</listitem>
</itemizedlist>
+
<itemizedlist>
<title>From version 3.0.1 to 3.0.2</title>
<listitem>
<para>Minor spelling fixes in the French documentation.</para>
</listitem>
</itemizedlist>
+
<itemizedlist>
<title>From version 3.0.0 to 3.0.1</title>
<listitem>
A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: fcrontab.5.sgml,v 1.19 2007-01-01 18:53:43 thib Exp $ -->
+<!-- $Id: fcrontab.5.sgml,v 1.20 2007-04-14 17:46:43 thib Exp $ -->
<refentry id="fcrontab.5">
<refmeta>
<para>When &fcron; executes a command, it always sets
<envar>USER</envar>, and <envar>HOME</envar> as defined in
<filename>/etc/passwd</filename> for the owner of the &fcrontabf; from which the
-command is extracted. It also defines <envar>SHELL</envar> to the value of the SHELL used to run the command. &Fcron; uses the value of <envar>SHELL</envar> from the fcrontab if any, otherwise it uses the value from <filename>fcron.conf</filename> if any, or in last resort the value from <filename>/etc/passwd</filename>. <envar>HOME</envar> and <envar>SHELL</envar> may be
+command is extracted. TZ is also defined to the value of the option timezone when this option is used. It also defines <envar>SHELL</envar> to the value of the SHELL used to run the command. &Fcron; uses the value of <envar>SHELL</envar> from the fcrontab if any, otherwise it uses the value from <filename>fcron.conf</filename> if any, or in last resort the value from <filename>/etc/passwd</filename>. <envar>HOME</envar> and <envar>SHELL</envar> may be
overridden by settings in the &fcrontabf;, but <envar>USER</envar> may not.
Every other environment assignments defined in the user &fcrontabf; are then
made, and the command is executed.</para>
<term>timezone</term>
<listitem>
<para><emphasis><type>timezone-name</type></emphasis>(<constant>time zone of the system</constant>)</para>
- <para>Run the job in the given time zone. timezone-name is a string which is valid for the environment variable TZ: see the documentation of your system for more details. For instance, "Europe/Paris" is valid on a Linux system. This option handles daylight saving time changes correctly.</para>
+ <para>Run the job in the given time zone. timezone-name is a string which is valid for the environment variable TZ: see the documentation of your system for more details. For instance, "Europe/Paris" is valid on a Linux system. This option handles daylight saving time changes correctly. The TZ environ,ment variable is set to the value of timezone when a job defining this option is run.</para>
<para>Please note that if you give an erroneous timezone-name argument, it will be SILENTLY ignored, and the job will run in the time zone of the system.</para>
<para>WARNING: do *not* use option timezone and option tzdiff simultaneously! There is no need to do so, and timezone is cleverer than tzdiff.</para>
<para>&seealso; options &opttzdiff;.</para>
A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: todo.sgml,v 1.42 2007-04-14 17:04:11 thib Exp $ -->
+<!-- $Id: todo.sgml,v 1.43 2007-04-14 17:46:40 thib Exp $ -->
<sect1 id="todo">
<title>Todo</title>
<sect2>
<title>High priority</title>
<itemizedlist>
- <listitem>
- <para>test + update the doc on how SHELL is defined (priority: 1) value from fcrontab file 2) value from fcron.conf if non-zero long string 3) value from /etc/passwd -- default value for SHELL in fcron.conf is now "")</para>
- </listitem>
- <listitem>
- <para>set TZ env. var. for jobs for which option tz is used.</para>
- </listitem>
<listitem>
<para>Test (and use ?) docbook2x-man -- xlstproc ? cf http://antoine.ginies.free.fr/docbook/ch09.html</para>
</listitem>
<title>Low priority</title>
<itemizedlist>
<listitem>
- <para>add logging to a file with configuration in fcron.conf</para>
+ <para>add logging to a file (instead of syslog) with configuration in fcron.conf</para>
</listitem>
<listitem>
<para>code cleaning: create a .c/.h file for data structures