I have an entry in /etc/cron.daily

#!/bin/csh

cd /etc/spamassassin

mv KAM.cf KAM.cf.old
/usr/bin/wget http://www.pccc.com/downloads/SpamAssassin/contrib/KAM.cf
/usr/bin/diff KAM.cf KAM.cf.old | /usr/bin/mail -s KAM_changes jpff
/bin/systemctl -l reload spamassassin.service

exit 0

Sems to work OK; noting special



On Sat, 18 Aug 2018, Chris wrote:

Does anyone have a script that I can run as a cron job to update the
KAM.cf file?

Thanks
Chris

--
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
12:27:45 up 14:39, 1 user, load average: 8.88, 3.45, 1.40
Description:    Ubuntu 18.04.1 LTS, kernel 4.15.0-32-generic

Reply via email to