diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 18:11:44 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-31 18:11:44 +0100 |
commit | ea34e252fcd9dc41f5e3a3b68cafe417271a5515 (patch) | |
tree | f492e216aedf607fb7bd5b744fc1a6f2b8adb697 /doc | |
parent | m (diff) | |
download | sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.gz sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.bz2 sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.xz |
fix some errors
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | doc/info/chap/hooks.texinfo | 4 | ||||
-rw-r--r-- | doc/man/satd.1 | 5 |
2 files changed, 8 insertions, 1 deletions
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 |