| Version 1.9 Build 1556
|
|
Next: sneeze
Up: Code distribution
Previous: inhale
Subsections
inhold
Wait for inhale (p) to finish.
inhold [-t#]
inhold waits for inhale (p)) to finish rebuilding the system. It
may be used to synchronize a programmer rebuild, especially as initiated via a
cron job, so that it starts shortly after inhale (p) finishes.
inhold uses tract (p) to determine when $AIPSARCH/LOGFILE
(§1.2) is updated.
- -t interval
- Time resolution, in seconds, to test for the completion of inhale (p)
(default 300).
none
- The time resolution specified by the -t option determines the sleep
interval. An extra 60 seconds is added to this to derive the maximum age
of the LOGFILE. This accounts for slow NFS updates of
LOGFILE's timestamp.
Status return values:
0
: success
1
: initialization error
An example programmer cron entry might be as follows:
00 23 * * 6 . $HOME/.profile ; inhold && rebuild
where rebuild is some script written by the programmer to rebuild the
AIPS++ workspace. The cron start time should coincide with the
start time of inhale (p).
The unix manual page for cron(1).
AIPS++ variable names (§1.2).
inhale (p), AIPS++ code import utility.
tract (p), Report the age of a file or directory.
Next: sneeze
Up: Code distribution
Previous: inhale
  Contents
  Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc.,
Washington, D.C.
Return to AIPS++ Home Page
2006-10-15