about summary refs log tree commit diff
path: root/nq.1
diff options
context:
space:
mode:
authorPulux <pulux@pf4sh.eu>2022-08-05 05:52:25 +0200
committerLeah Neukirchen <leah@vuxu.org>2022-09-25 19:05:37 +0200
commit83029dff5de737fb4d6de9dbe64d39ce494eade7 (patch)
tree90ba742cf0e04afb2010af929219dd3cfe2c562d /nq.1
parent5bb7de35cac53bbc1b666e3cb38cb095fa7ef713 (diff)
downloadnq-83029dff5de737fb4d6de9dbe64d39ce494eade7.tar.gz
nq-83029dff5de737fb4d6de9dbe64d39ce494eade7.tar.xz
nq-83029dff5de737fb4d6de9dbe64d39ce494eade7.zip
nq: add support for a $NQFAILDIR
Diffstat (limited to 'nq.1')
-rw-r--r--nq.19
1 files changed, 9 insertions, 0 deletions
diff --git a/nq.1 b/nq.1
index f6905ee..ff09dc6 100644
--- a/nq.1
+++ b/nq.1
@@ -71,6 +71,7 @@ listed job ids are done.
 .El
 .Sh ENVIRONMENT
 .Bl -hang -width "NQDONEDIR"
+.Bl -hang -width "NQFAILDIR"
 .It Ev NQDIR
 Directory where lock files/job output resides.
 Each
@@ -93,6 +94,14 @@ to after successful execution of the job.
 Ignored when
 .Fl c
 is used.
+.It Ev NQFAILDIR
+When set, specifies a directory
+.Po
+must be on the same file system as
+.Ev NQDIR
+.Pc
+where lock files/job output is moved
+to after unsuccessful execution of the job.
 .It Ev NQJOBID
 The job id of the currently running job,
 exposed to the job itself.