rkhunter schedule

Discussion in 'Tips/Tricks/Mods' started by akamarinos, Dec 29, 2010.

  1. akamarinos

    akamarinos New Member

    my vps is quite weak so I want to run rkhunter weekly instead of default daily

    i have changed
    to this
              *  This monitoring is expensive, so do it only once a day
                    $min = date('i');
                    $hour = date('H');
                    $day = date('D');
                    if (!($min == 0 && $hour == 23 && $day == Wed)) return;
    will that do the job ?
  2. akamarinos

    akamarinos New Member

    seems to be working

    if anybody else wants to make these changes
    you have to change the lines 1175-1180

Share This Page