Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Posts
    145

    Question How to run Chkrootkit @ specific time

    Hello

    How can I make a automated system scan and email to me @ specific time (let's say 3PM )

    I found this script

    #!/bin/bash
    cd /yourinstallpath/chkrootkit-0.42b/
    ./chkrootkit | mail -s "Daily chkrootkit from Servername" admin@youremail.com
    But how to make it @ specific time ?

  2. #2
    Join Date
    Sep 2005
    Posts
    145
    oops , misktake, this should be in Technical & Security Issues section

    Mod help plz

  3. #3
    Join Date
    Aug 2002
    Location
    here
    Posts
    1,566
    Set a cron job to
    0 7 * * * (cd /path/to/chkrootkit; ./chkrootkit 2>&1 | mail -s "chkrootkit output" you@yoursite.com)
    That is set to run every 7 am
    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •