Web Hosting Talk







View Full Version : How do I cron this


cyrusTvirus
09-17-2002, 02:22 AM
I have a mailscanner installed from a bassi pkg on a testing box. Now Iam modifying the pack but the update doesnt work for me. So now i want to add this line into a cronjob to run it once a day or so.

How do i add this line into a cron:

perl /usr/local/f-prot/autoupdate

and so that is run as root.

Thanks !!

ellebi
09-17-2002, 04:16 AM
I'm not using bassi pkg but I think that creating a symlink to the script should work.

As root do the following:

cd /etc/cron.daily/
ln -s /usr/local/f-prot/autoupdate AVupdate
chmod 755 AVupdate

to verify it type
./AVupdate

cyrusTvirus
09-17-2002, 04:45 AM
Yeah i have done that but this av-files arent updated as it should be.....

strange.

dutchie
09-17-2002, 04:54 AM
cyrustvirus-->
What is this pkg you are talking about? where can i find it, and is it stable?

thanks

Dutchie

cyrusTvirus
09-17-2002, 05:41 AM
search the archives or pm me.

dutchie
09-17-2002, 06:26 AM
Since i expect others will be intrested in this as well i'd rather continue the thread here ;)

The links are not mentioned on WHT so a search won't give any useable results, i did find them at www.jiscmail.co.uk, thats probaly what you ment.

For Raq3
http://www.firstwebspace.com/raq/RAQ3-Bassi-MailScanner-3.21-1.pkg
For Raq4
http://www.firstwebspace.com/raq/RaQ4-Bassi-MailScanner-3.21-1.pkg

I would love to hear any experiences you and others have with these packages.

Thanks !
Dutchie

ellebi
09-17-2002, 09:32 AM
I prefer the manual installation of Mailscanner instead of the pkg.
The pkg uses mailscanner 3.21-1 while the latest version of mailscanner is 3.22-14.
I've followed the instruction available at uk2raq.com: http://www.uk2raq.com/raqfaq/raqfaqshow.php?faq=96

Just be sure to change where there's written mailscanner-3.20-5.i386.rpm to mailscanner-3.22-14.i386.rpm

There's also available a script that downloads the definition files for f-prot only if they are newer than your current ones.
The url is: http://uk2raq.com/updates/f-prot-zip-update.sh