View Single Post
  #1  
Old 29th December 2010, 17:00
akamarinos akamarinos is offline
Junior Member
 
Join Date: Jan 2009
Posts: 24
Thanks: 6
Thanked 6 Times in 5 Posts
Default rkhunter schedule

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

i have changed
/usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php
to this
Code:
          *  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 ?
Reply With Quote
Sponsored Links