On Tuesday, February 4, 2003, at 22:42, you wrote: > I was trying to setup my crontab to notify me of unconfirmed pending mail, > but I only wanted to receive the email when once for each email (I know > that's the -C option), but I also only want an email sent if their is any > pending email. Right now if I use
> tmda-pending -CbsO 2d | mail -s "TMDA pending" sentinel > /dev/null I dont bother with the "| mail" bit - cron does that for me (on Linux anyway). No tmda-pending output == no mail. My shell account crontab is like: 35 7 * * * /users/marcus/src/tmda/bin/tmda-pending -q -b -d -O 30d 30 8 * * * /users/marcus/src/tmda/bin/tmda-pending -Cbs cron does the rest for me. Works for me anyways. Marcus -- Marcus Williams - http://www.onq2.com Quintic Ltd, 39 Newnham Road, Cambridge, UK _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
