On Sat, 2018-08-18 at 18:46 +0100, jpff wrote:
> 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
> 
Thanks, looks good, I'll give it a try.

> 
> 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
> >
> 
-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
12:49:37 up 15:01, 2 users, load average: 1.67, 3.06, 2.44
Description:    Ubuntu 18.04.1 LTS, kernel 4.15.0-32-generic

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to