I'm trying to automatically create a report in cron and E-mailling it to my E-mail account.
this is what I have. 0 1 0 0 0 root /usr/bin/perl /usr/local/bin/spamstat.pl /var/log/maillog.0 > /var/log/spam_report | uuencode spam_report spam_report | mail -s "spam_daily_report" [EMAIL PROTECTED] what I get is a blanc attachment. the spam_report file does get created in the /var/log dir with all the right stuff in it, so I don't get why it won't E-mail it. I have the same setup for another report and it works fine. I know this would probably work better if I created a script to do all this and have cron run the script, but I don't know how to write any scripts. Thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
