silence sa-update cron script

This commit is contained in:
Warren Togami 2007-02-13 18:32:20 +00:00
parent 9fb170c7e0
commit 89a5fc55d2
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
sleep $(expr $RANDOM % 7200)
echo SpamAssassin rule update begins at `date`
#echo SpamAssassin rule update begins at `date`
# Only restart spamd if sa-update returns 0, meaning it updated the rules
/usr/bin/sa-update && /etc/init.d/spamassassin condrestart
/usr/bin/sa-update && /etc/init.d/spamassassin condrestart > /dev/null
echo

View File

@ -12,7 +12,7 @@
Summary: Spam filter for email which can be invoked from mail delivery agents.
Name: spamassassin
Version: 3.1.7
Release: 8%{?dist}
Release: 9%{?dist}
License: Apache License
Group: Applications/Internet
URL: http://spamassassin.apache.org/
@ -186,6 +186,9 @@ fi
exit 0
%changelog
* Tue Feb 13 2007 Warren Togami <wtogami@redhat.com> 3.1.7-9
- silence sa-update cron script
* Wed Feb 07 2007 Warren Togami <wtogami@redhat.com> 3.1.7-8
- only restart spamd if necessary after sa-update (#227756)