From ea34e252fcd9dc41f5e3a3b68cafe417271a5515 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 31 Dec 2015 18:11:44 +0100 Subject: fix some errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/chap/hooks.texinfo | 4 +++- doc/man/satd.1 | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/info/chap/hooks.texinfo b/doc/info/chap/hooks.texinfo index 9dec27d..fe6e753 100644 --- a/doc/info/chap/hooks.texinfo +++ b/doc/info/chap/hooks.texinfo @@ -16,6 +16,8 @@ arguments are job's command line arguments including the zeroth argument (the name of the command). Possible actions are: @table @code +@item queued +The job with queued using @command{sat}. @item expired The job will run momentarily as scheduled. @item forced @@ -38,7 +40,7 @@ is to use the script #!/bin/sh action="$1" shift 1 -exec wall -n "sat: $action: $JOBNAME ($*)" +exec wall "sat: $action: $JOBNAME ($*)" @end example @noindent and always set the environment variable @env{JOBNAME} diff --git a/doc/man/satd.1 b/doc/man/satd.1 index 3875b4f..d86c43a 100644 --- a/doc/man/satd.1 +++ b/doc/man/satd.1 @@ -32,6 +32,7 @@ either .B failure if the job was not executed successfully, including if the job exited with any status other than zero, or +.TP .B success if the job was executed successfully and exited with status zero. @@ -40,6 +41,10 @@ When a job is removed using .BR satrm (1), the hook script is run with the action .BR removed . +When a job is queued using +.BR sat (1), +the hook script is run with the action +.BR queued . .PP When the hook script runs, the first argument (not counting the zeroth argument: the pathname of hook -- cgit v1.2.3-70-g09d2