Okay, I was able to duplicate your problem. It is due to the output of 'ps' being truncated to 80 columns, the default terminal size. You are likely running a wide terminal display on your interactive session (as I do) but cron will see the default 80 column terminal. This is the difference between the two.
Try running 'ps' using the -w flag (wide column mode): if ( ps -auxw | grep -iq "^root.*master" ) ; then I've tested this and it works. Paul -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message