I just call the following script from my cronjob which sends me the debug output, a little crude but it works...
#!/bin/sh sa-update --channelfile /etc/spamassassin/sa-update-sare.txt --gpgkey 856AA88A -D 1> /tmp/sa.tmp 2>> /tmp/sa.tmp sleep 60 /etc/init.d/spamassassin restart 2>&1>> /tmp/sa.tmp cat /tmp/sa.tmp | mail -s "Weekly update of internal SpamAssassin rulesets" [EMAIL PROTECTED] rm /tmp/sa.tmp On Sun, 25 Feb 2007 21:04:15 -0500 "John Fleming" <[EMAIL PROTECTED]> wrote: > If I run sa-update via a cron job, is there a way to know what it did > other than emailing the output to myself? RDJ used to send me a nice > email telling me what rules had changed. I don't find any > notification options with sa-update. > > - John > -- Adam Wilbraham - Assistant Systems Administrator TechnoPhobia Limited The Workstation 15 Paternoster Row SHEFFIELD England S1 2BX t: +44 (0)114 2212123 f: +44 (0)114 2212124 e: [EMAIL PROTECTED] w: http://www.technophobia.com/ Registered in England and Wales Company No. 3063669 VAT registration No. 598 7858 42 ISO 9001:2000 Accredited Company No. 21227 ISO 14001:2004 Accredited Company No. E997 ISO 27001:2005 (BS7799) Accredited Company No. IS 508906 Investor in People Certified No. 101507 The contents of this email are confidential to the addressee and are intended solely for the recipients use. If you are not the addressee, you have received this email in error. Any disclosure, copying, distribution or action taken in reliance on it is prohibited and may be unlawful. Any opinions expressed in this email are those of the author personally and not TechnoPhobia Limited who do not accept responsibility for the contents of the message. All email communications, in and out of TechnoPhobia, are recorded for monitoring purposes.