From 2245b80ebfe9a08312fae54bebcf503f3b3dc665 Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Wed, 7 Nov 2007 09:24:43 +0000 Subject: [PATCH] added option erroronlymail --- doc/en/fcrontab.5.sgml | 20 +++++++++++++++----- doc/fcron-doc.mod.in | 1 + doc/fr/fcrontab.5.sgml | 13 +++++++++++-- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/doc/en/fcrontab.5.sgml b/doc/en/fcrontab.5.sgml index 9e4a018..0f56b99 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. --> - + @@ -434,6 +434,16 @@ day. + + erroronlymail + + boolean(false) + Mail output only if job exited with a non-zero status. + &seealso; options &optmail;, &optmailto;, +&optforcemail;, &optnolog;. + + + exesev @@ -464,7 +474,7 @@ useful when used in conjunction with option &optvolatile;. boolean(false) Mail output even if zero-length. &seealso; options &optmail;, &optmailto;, -&optnolog;. +&opterroronlymail;, &optnolog;. @@ -535,7 +545,7 @@ system load average values. boolean(true) Mail output (if any) or not. &seealso; options &optmailto;, &optforcemail;, -&optnolog;. +&opterroronlymail;, &optnolog;. @@ -549,7 +559,7 @@ of file's owner) or a fully qualified email address. A &optmailto; declared and empty (string "") is equivalent to "mail(false)". &seealso; options &optmail;, &optforcemail;, -&optnolog;. +&opterroronlymail;, &optnolog;. @@ -573,7 +583,7 @@ option). corresponding job(s). May be useful for jobs running very often, and/or to reduce disk access on a laptop. &seealso; options &optmail;, &optmailto;, -&optforcemail;. +&opterroronlymail;, &optforcemail;. diff --git a/doc/fcron-doc.mod.in b/doc/fcron-doc.mod.in index 949d543..b327993 100644 --- a/doc/fcron-doc.mod.in +++ b/doc/fcron-doc.mod.in @@ -70,6 +70,7 @@ bootrun'> dayand'> dayor'> +erroronlymail'> exesev'> first'> forcemail'> diff --git a/doc/fr/fcrontab.5.sgml b/doc/fr/fcrontab.5.sgml index b41b647..87899d1 100644 --- a/doc/fr/fcrontab.5.sgml +++ b/doc/fr/fcrontab.5.sgml @@ -8,7 +8,7 @@ Foundation. A copy of the license is included in gfdl.sgml. --> - + @@ -546,12 +546,21 @@ le d + + erroronlymail + + booléen(false) + Envoyer la sortie par courriel uniquement si la tâche a retourné une valeur de sortie autre que zéro. + &voiraussi; options &optmail;, &optmailto;, &optnolog;, &optforcemail;. + + + forcemail booléen(false) Envoyer la sortie par courriel même si celle-ci est vide. - &voiraussi; options &optmail;, &optmailto;, &optnolog;. + &voiraussi; options &optmail;, &optmailto;, &opterroronlymail;, &optnolog;. -- 2.47.3