How to do automatic scan with avast for Linux (Ubuntu 7.04)?

LOL you beat me to that I was going to suggest that he runs the GUI to see if that will fix his problem… :cry:

I opened the terminal window

first, I tried to run avast!:
sudo -H avast /home

NOTE: the scanner started to work after filling the license key

then I altered the contab table:
sudo crontab -e

and I inserted “30 18 * * * /usr/bin/avast /home > /tmp/scanresaults” line there

I restarted the cron daemon:
sudo /etc/init.d/cron restart

avast! worked fine then when it was running from the cron

Its always the simple things that get over looked the most