diff options
Diffstat (limited to '')
-rw-r--r-- | doc/info/chap/invoking.texinfo | 9 | ||||
-rw-r--r-- | doc/info/chap/output.texinfo | 8 |
2 files changed, 15 insertions, 2 deletions
diff --git a/doc/info/chap/invoking.texinfo b/doc/info/chap/invoking.texinfo index 65c62b3..6afa45d 100644 --- a/doc/info/chap/invoking.texinfo +++ b/doc/info/chap/invoking.texinfo @@ -51,8 +51,13 @@ kill the parent. @command{sat} runs the specified command (@code{COMMAND...}) at a specified time (@code{TIME}). The job will run with -the same environment as @command{sat} has when it queues -the job. +the same environment and the same working directory as +@command{sat} has when it queues the job. The working +directory is determined by its absolute pathname@footnote{Most +probably the canonical pathname}, if no such directory +exists when the job is executed, the job's working directory +will be that of @command{satd}, which is always @file{/} +unless it was started with @option{-f}. @command{satq} lists all queued jobs to standard output. diff --git a/doc/info/chap/output.texinfo b/doc/info/chap/output.texinfo index d475706..4671dfb 100644 --- a/doc/info/chap/output.texinfo +++ b/doc/info/chap/output.texinfo @@ -14,6 +14,7 @@ The output for each job is formatted @example job: JOB-ID clock: CLOCK argc: ARGC remaining: REM argv[0]: ARGV0 time: TIME + wdir: WDIR argv: ARGV envp: ENVP @end example @@ -54,6 +55,13 @@ is @code{boottime}, this is formatted in the say way as formatted @code{YEAR-MM-DD HH:MM:SS} in 24-hour clock, local time. +@item WDIR +is the working directory the job will have. If that +directory does not exist when the job is executed, +the job's working directory will be that if this +daemon, which is always @file{/} unless @command{satd} +was started with @option{-f}. + @item ARGV is all arguments in the job's command line, including @code{ARGV0}. Each argument is quoted as necssary. |