LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Clamav How to Schedule scans help

[ILUG] Clamav How to Schedule scans help

Frank Murphy lists2004 at utvinternet.com
Thu May 20 12:23:30 IST 2004


At 11:35 20/05/2004, Peter McEvoy wrote:
>On Thu, May 20, 2004 at 11:25:11AM +0100, Frank Murphy wrote:
> > How do I schedule clamav to scan the box (hda, hdb)
> >
> > twice a day say, 11am & 11pm,
>
>Edit crontab with "crontab -e", it uses the EDITOR environment variable
>so export EDITOR=/usr/bin/vim (or whatever editor you're comfortable
>with), something like this should work:
>
>0 11,23 * * * /usr/bin/clamscan -r /
>
>man clamscan for other options
>
>--
>Pete
>--

Heres crontab contents, it it ok.

Frank

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

0 11,23 * * * /usr/bin/clamscan -r/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell