]> granicus.if.org Git - fcron/commitdiff
*** empty log message ***
authorthib <thib>
Sat, 14 Apr 2007 17:46:40 +0000 (17:46 +0000)
committerthib <thib>
Sat, 14 Apr 2007 17:46:40 +0000 (17:46 +0000)
doc/en/changes.sgml
doc/en/fcrontab.5.sgml
doc/en/todo.sgml

index b2c4908aeb654f325c9323ba2c85f9b254cd4287..dd36b3faf290beb915c65aa2a56f6f75769edffa 100644 (file)
@@ -8,7 +8,7 @@ Foundation.
 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>
@@ -30,6 +30,9 @@ A copy of the license is included in gfdl.sgml.
         <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>
@@ -40,6 +43,7 @@ A copy of the license is included in gfdl.sgml.
            <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>
@@ -61,6 +65,7 @@ A copy of the license is included in gfdl.sgml.
            <para>Minor spelling fixes in the French documentation.</para>
         </listitem>     
       </itemizedlist>
+
       <itemizedlist>
         <title>From version 3.0.0 to 3.0.1</title>
         <listitem>
index 0a5bc3239ff1d4dc91b2b44e4d8e9da92b80aa59..885ee827bb6049291253db0e09327323b8f79434 100644 (file)
@@ -8,7 +8,7 @@ Foundation.
 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>
@@ -68,7 +68,7 @@ value.</para>
            <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>
@@ -683,7 +683,7 @@ not run) or be let there until the system load average allows its execution
                  <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>
index 47f604ade87091315644f0d5814c7df692a4e148..3f3fcc9c921f3aaf63acea3eba9c1071fdd36d3b 100644 (file)
@@ -8,7 +8,7 @@ Foundation.
 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>
@@ -24,12 +24,6 @@ A copy of the license is included in gfdl.sgml.
       <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>
@@ -45,7 +39,7 @@ A copy of the license is included in gfdl.sgml.
         <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