Peter Samuel writes:
 >     $now = time;
 >     $then = $now - 300;
 >     $tmp = "/tmp/mailq.$$";
 > 
 >     open(LOG, "/var/log/mail");
 >     open(ZOVERALL, "| /pkgs/bin/matchup 5>/dev/null | /pkgs/bin/zoverall > $tmp");

Not to look a gift horse in the mouth, but what if the script doesn't
get run exactly every five minutes?  Also, oughtn't you keep track of
the leftovers that get printed to FD 5?

 >     open(PROCESS, "/var/qmail/bin/qmailq check |");

What program is this?

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.

Reply via email to