Installed F-Prot as av.
Need a crontab so it will auto update.
(What I need is it to update at 00:10am every day.)
man cron & crontab didn't do much for me.
Tried running crontab -e
got a page with a load of _ down left margin,
time to ask some help I figured.
(then I'll try figure how to get it do auto scans, not exactly a batch file)
Frank
---------------------------
Automatically updating the virus signature files
To automatically update the virus signature files you can use the
check-updates.pl perl script in conjunction with cron. Cron is a command
scheduler. To schedule check-updates.pl to run periodically, you must
create something called a crontab. Please consult your system manual to
find out how.
The most common command for creating a crontab is 'crontab -e'. Running it
will start an editor. You must fill in the time and date fields appropriately.
The time and date fields are:
field allowed values
minute 0-59
hour 0-23
day of month 1-31
month 1-2 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
Example:
27 4,16 * * */usr/local/f-prot/tools/check-updates.pl -cron
With this configuration, you will get e-mails whenever signature files are
updated or when an error occurs. If you only want to receive e-mail only
when an error, occurs, then you want to include the -quiet parameter:
27 4,16 * * */usr/local/f-prot/tools/check-updates.pl -cron -quiet
Please make sure you run check-updates.pl as root, otherwise it will not
have filesystem permissions to update the virus database. For further
information about check-updates.pl, please consult the check-updates.pl
manual page.
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!