Results 1 to 5 of 5
Hello all, I just got clamav up and working, which by the way runs great! Anyway, I would like to schedual it to update and run a scan on a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-18-2006 #1
How do you schedual tasks
I just got clamav up and working, which by the way runs great! Anyway, I would like to schedual it to update and run a scan on a regular basis. Surly there is a way to do this either built into clamav or built into Linux. I am using Fedora core 4, if that helps any.
Thanks in advance for your help
- 01-18-2006 #2
- Join Date
- Jan 2006
you would have to add the script as a crontab entry. Im using debian, but I think it should be in the same location:
the setup is like this
<minute_of_hour> <hour_of_day> <day_of_month> <month> <day_of_week> <user> <command>
so, if you wanted to run clamav everyday at midnight:
0 0 * * * root <path/to/clamav/script>
or every wed at 5pm:
0 17 * * 4 root <path/to/clamav/script>
hope that helps
- 01-18-2006 #3
I tried editing /etc/crontab. I think it worked but I don't know how to tell. I don't get a print out on the screen so I don't know if clamav didn't find anything, or if it even ran. Is there a way for me to get this info?
- 01-19-2006 #4
You could make a test script that just echo`s some text and run that with crontab to assure your self that you can make it run.
- 01-19-2006 #5
I run KlamAV and it has a built in scheduler. Just goto the update tab and set the update virus DB automatically to however many times per day. below this is the date and time it last did an update
This is running on the KDE desktop (hence KlamAV not ClamAV), if you a running Gnome or something else, it maybe slightly different. If you dont have a GUI front, check at Clam. I am pretty sure they have links to GUI's for most desktops, even windows.