From 905b36a6bc5a81f02604faa97e81c1ec641678b4 Mon Sep 17 00:00:00 2001 From: thib Date: Sat, 14 Apr 2007 17:46:40 +0000 Subject: [PATCH] *** empty log message *** --- doc/en/changes.sgml | 7 ++++++- doc/en/fcrontab.5.sgml | 6 +++--- doc/en/todo.sgml | 10 ++-------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/doc/en/changes.sgml b/doc/en/changes.sgml index b2c4908..dd36b3f 100644 --- a/doc/en/changes.sgml +++ b/doc/en/changes.sgml @@ -8,7 +8,7 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + Changes @@ -30,6 +30,9 @@ A copy of the license is included in gfdl.sgml. 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. + + Set TZ environment variable for lines which uses fcron option timezone. + A file was closed twice by fcrontab: removed the duplicate close(). @@ -40,6 +43,7 @@ A copy of the license is included in gfdl.sgml. Fixed a fcrontab bug cause by an return value not handled and resulting in many useless (but pretty much harmless) iteration in a loop. + From version 3.0.1 to 3.0.2 @@ -61,6 +65,7 @@ A copy of the license is included in gfdl.sgml. Minor spelling fixes in the French documentation. + From version 3.0.0 to 3.0.1 diff --git a/doc/en/fcrontab.5.sgml b/doc/en/fcrontab.5.sgml index 0a5bc32..885ee82 100644 --- a/doc/en/fcrontab.5.sgml +++ b/doc/en/fcrontab.5.sgml @@ -8,7 +8,7 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + @@ -68,7 +68,7 @@ value. When &fcron; executes a command, it always sets USER, and HOME as defined in /etc/passwd for the owner of the &fcrontabf; from which the -command is extracted. It also defines SHELL to the value of the SHELL used to run the command. &Fcron; uses the value of SHELL from the fcrontab if any, otherwise it uses the value from fcron.conf if any, or in last resort the value from /etc/passwd. HOME and SHELL may be +command is extracted. TZ is also defined to the value of the option timezone when this option is used. It also defines SHELL to the value of the SHELL used to run the command. &Fcron; uses the value of SHELL from the fcrontab if any, otherwise it uses the value from fcron.conf if any, or in last resort the value from /etc/passwd. HOME and SHELL may be overridden by settings in the &fcrontabf;, but USER may not. Every other environment assignments defined in the user &fcrontabf; are then made, and the command is executed. @@ -683,7 +683,7 @@ not run) or be let there until the system load average allows its execution timezone timezone-name(time zone of the system) - 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. + 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. 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. WARNING: do *not* use option timezone and option tzdiff simultaneously! There is no need to do so, and timezone is cleverer than tzdiff. &seealso; options &opttzdiff;. diff --git a/doc/en/todo.sgml b/doc/en/todo.sgml index 47f604a..3f3fcc9 100644 --- a/doc/en/todo.sgml +++ b/doc/en/todo.sgml @@ -8,7 +8,7 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + Todo @@ -24,12 +24,6 @@ A copy of the license is included in gfdl.sgml. High priority - - 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 "") - - - set TZ env. var. for jobs for which option tz is used. - Test (and use ?) docbook2x-man -- xlstproc ? cf http://antoine.ginies.free.fr/docbook/ch09.html @@ -45,7 +39,7 @@ A copy of the license is included in gfdl.sgml. Low priority - add logging to a file with configuration in fcron.conf + add logging to a file (instead of syslog) with configuration in fcron.conf code cleaning: create a .c/.h file for data structures -- 2.40.0