summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-03-13 17:00:03 +0100
committerLeah Neukirchen <leah@vuxu.org>2021-03-13 17:00:03 +0100
commit4bb606a8d59faff26f9b39d710e75ec737af0111 (patch)
tree665c45b4504ad9a2ffef4cff2ba9ff06b50d78f2
parentc0d5710e119ba4429be83703a0716451d3cd2201 (diff)
downloadnq-4bb606a8d59faff26f9b39d710e75ec737af0111.tar.gz
nq-4bb606a8d59faff26f9b39d710e75ec737af0111.tar.xz
nq-4bb606a8d59faff26f9b39d710e75ec737af0111.zip
nq.1: document NQDONEDIR
-rw-r--r--nq.116
1 files changed, 14 insertions, 2 deletions
diff --git a/nq.1 b/nq.1
index 2a74749..f6905ee 100644
--- a/nq.1
+++ b/nq.1
@@ -1,4 +1,4 @@
-.Dd August 25, 2015
+.Dd March 13, 2021
 .Dt NQ 1
 .Os
 .Sh NAME
@@ -70,7 +70,7 @@ wait in the foreground until
 listed job ids are done.
 .El
 .Sh ENVIRONMENT
-.Bl -hang -width Ds
+.Bl -hang -width "NQDONEDIR"
 .It Ev NQDIR
 Directory where lock files/job output resides.
 Each
@@ -81,6 +81,18 @@ The current working directory is used when
 is unset.
 .Ev NQDIR
 is created if needed.
+.It Ev NQDONEDIR
+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 successful execution of the job.
+.Pp
+Ignored when
+.Fl c
+is used.
 .It Ev NQJOBID
 The job id of the currently running job,
 exposed to the job itself.