18 Nov
2005
18 Nov
'05
01:55
Bruce, Anders, On Thursday 17 November 2005 17:52, Anders Johansson wrote:
...
How does one get checkproc to work?
...
Try
checkproc /usr/bin/fetchmail && echo "it's running"
checkproc simply returns a value, which you can then test for, for example using if, as in your previous script
Also check out the man page for options and, most of all, the two aliases and primary modes of operation: absolute path name of executable (checkproc) and base name of executable (pidofproc). Randall Schulz