> > Mikkel advised you to add a script to /etc/cron.daily. > Running the script by hand would need the "./" prefix. > > To get a script called 'virusscan.sh' in place, do the following: > > open an xterm > su (to become root) > cd /etc/cron.daily > vi virusscan.sh > <press "i" to go to insert mode in vi> > <type the f-prot scan command we figured out. Make sure you enter the > entire path-name to the f-prot program, with cron you do not want to > rely on PATH settings> > <press ESCape to go to command mode in vi> > type :wq > > Then, on the prompt, type > > chmod +x virusscan.sh > (This makes the script eXecutable.) > > Type 'exit' (without quotes) to go back to your regular useraccount. > From there, the daily cron-run should pick up the virusscan.sh script > and execute it every day. > I think I did all that using mcedit with Mikkel's instructions. Thanks anyway rosemary
-- Registered linux user # 386597 A friend may well be a masterpiece of nature. Emerson
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
