![]() |
![]()
| ![]() |
![]()
NAMEnspatch - run `nsdiff | nsupdate` with error handling SYNOPSISnspatch [-hVv] [-r count]
DESCRIPTIONThe nspatch utility runs `"nsdiff | nsupdate"` and checks that both programs complete successfully. It suppresses their output unless there is an error, in a manner suitable for running from cron. The nsupdate script produced by nsdiff includes a prerequisite check to detect and fail if there is a concurrent update. These failures are detected by nspatch which retries the update. Rather than using a pipe, nspatch uses temporary files to store the output of nsdiff and nsupdate. OPTIONS
EXIT STATUSThe nspatch utility returns 0 if no change is required or if the update is successful, or 1 if there is an error. ENVIRONMENT
VERSIONThis is nspatch-1.85 <https://dotat.at/prog/nsdiff/> Written by Tony Finch <fanf2@cam.ac.uk> <dot@dotat.at> at Cambridge University Information Services. You may do anything with this. It has no warranty. SEE ALSOnsdiff(1), nsupdate(1), cron(8)
|