The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Daily Virus Scan

Discussion in 'General Discussion' started by streryan, May 27, 2005.

  1. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3
    Is there a way I could have cronjob automatically run virus scan daily?
     
  2. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    If running clamav, then

    man clamscan would list all scanning options available. Then you could perhaps do what you want to thru cron editing roots crontab if that serves the purpose.

    Anup
     
  3. streryan

    streryan Active Member

    Joined:
    Aug 28, 2004
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    3
    what info would I put in for cron?
     
  4. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    What are you trying to acheive?
    I wouldn't do it if server load was my prime concern.
    I just use it for email scanning realtime.... that's it.

    Anup
     
  5. petfut

    petfut Well-Known Member

    Joined:
    Feb 14, 2005
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    If I use the command: clamscan -r /home, does it quarantine infected files automatically too?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    As Anup said, this is pretty much a pointless excercise. There are practically no viruses for Linux and if you want to block all those windows ones, it's simpler to just virus scan incoming emails.
     
Loading...

Share This Page