Author Topic: How to do automatic scan with avast for Linux (Ubuntu 7.04)?  (Read 21135 times)

0 Members and 1 Guest are viewing this topic.

blackdiamond

  • Guest
How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« on: August 26, 2007, 08:42:12 AM »
Hi everybody, i'm new of this forum. Apart of using cron application, it exist a script or something (maybe command or whatelse) that permit an automatic scan?
For example..if i want to use avast everyday in automatic mode, there is a way to do that?
Do you have any suggestions about that?
Thanks!
bye
Fabio
Italy
« Last Edit: August 26, 2007, 09:52:31 AM by blackdiamond »

blackdiamond

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #1 on: August 28, 2007, 01:12:00 PM »
No one?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67185
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #2 on: August 29, 2007, 04:47:21 AM »
I don't think so... I think only with server version you can use automated actions on Linux environment.
Of course, I'm just an user like you 8)
By the way, I use Kubuntu too 8)
The best things in life are free.

blackdiamond

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #3 on: September 01, 2007, 08:23:12 PM »
I don't think so... I think only with server version you can use automated actions on Linux environment.
Of course, I'm just an user like you 8)
By the way, I use Kubuntu too 8)

so the only way is to use cron? do you know it? I'm not really practice with it..
bye and thanks!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67185
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #4 on: September 01, 2007, 08:41:28 PM »
so the only way is to use cron?
Well, at least, avast does not offer this option.

do you know it? I'm not really practice with it.
Neither do I. Linux is my hobby, not my work environment.
The best things in life are free.

vendion

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #5 on: September 05, 2007, 02:14:34 AM »
I don't think so... I think only with server version you can use automated actions on Linux environment.
Of course, I'm just an user like you 8)
By the way, I use Kubuntu too 8)

so the only way is to use cron? do you know it? I'm not really practice with it..
bye and thanks!
An easy way to do it is to write a shell script that has all the options that you want Avast to scan with and where you want it to scan then add that shell script to your crontab and Linux will do everything else.  (Google is your friend when it comes to learning things with Linux)  http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/ here is a link to an FAQ page explaining how to install, uninstall, and list cron jobs in Linux and Unix.

blackdiamond

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #6 on: September 05, 2007, 01:00:50 PM »
I don't think so... I think only with server version you can use automated actions on Linux environment.
Of course, I'm just an user like you 8)
By the way, I use Kubuntu too 8)

so the only way is to use cron? do you know it? I'm not really practice with it..
bye and thanks!
An easy way to do it is to write a shell script that has all the options that you want Avast to scan with and where you want it to scan then add that shell script to your crontab and Linux will do everything else.  (Google is your friend when it comes to learning things with Linux)  http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/ here is a link to an FAQ page explaining how to install, uninstall, and list cron jobs in Linux and Unix.

Thank you very much vendion! I'll read the link that you suggest me..! thanks and bye!

vendion

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #7 on: September 07, 2007, 06:44:13 PM »
No problem

blackdiamond

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #8 on: September 10, 2007, 07:12:06 PM »
mmm...i've done it now, but there is no way to do it work..
i want to scan my pc everyday at 20:00
so i do:

0 20 * * * /home/avast

i save it
but it doesn't work..
It seems that i have done all the things right..
I really don't know..  >:(

vendion

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #9 on: September 11, 2007, 05:41:58 PM »
Try running which avast, on my system, openSUSE 10.2, it is telling me that avast is installed in /usr/bin/avast.  So In I wanted to make a cron job that would run avast at 20:00 every day it should look like this

0 0 * * * /usr/bin/avast /

That will tell cron to run a program called avast located in /usr/bin at 00:00 (Midnight) everyday for the whole year.

The problem that I see with yours is that when it gets to 20:00 your time cron reads your cronjob list and trys to run avast from /home/avast.  Try fixing that up and it should work for you.

blackdiamond

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #10 on: September 11, 2007, 09:23:46 PM »
Try running which avast, on my system, openSUSE 10.2, it is telling me that avast is installed in /usr/bin/avast. 


yeah, your right..sorry..i was really stupid!  >:(
i'll se if now it's work..
Thank you!

vendion

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #11 on: September 12, 2007, 07:12:40 PM »
Its an easy mistake for some one just starting to use Cron and is understandable.  Your welcome

blackdiamond

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #12 on: September 12, 2007, 07:18:21 PM »
Now i think to have done the right thing, but it doesn't work!  >:(

For example now i do:

30 18 * * * /usr/bin/avast /home

to scan my home directory at 18:30 but it doesn't work, and i really don't know where is the mistake..
i also try to omit /home directory..

vendion

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #13 on: September 13, 2007, 02:11:31 AM »
Its not going to give you a summary or a report that it ran its task, if you want it to leave some kind of a log then try this

30 18 * * * /usr/bin/avast /home > /tmp/scanresaults

That would make a text file in /tmp with everything that avast prints out.

blackdiamond

  • Guest
Re: How to do automatic scan with avast for Linux (Ubuntu 7.04)?
« Reply #14 on: September 17, 2007, 01:08:05 PM »
Its not going to give you a summary or a report that it ran its task, if you want it to leave some kind of a log then try this

30 18 * * * /usr/bin/avast /home > /tmp/scanresaults

That would make a text file in /tmp with everything that avast prints out.

mmmm  ??? unfortunately i have to say that it doesn't work...
I have a doubt about that. My avast is in the /usr/bin directory, but i see now that there is something strange..
i take a picture of that..you can see that the avast icon have an arrow..what does that mean..
maybe is that the problem?
thanks