#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
  #2  
Old 29th December 2010, 22:49
akamarinos akamarinos is offline
Junior Member
 
Join Date: Jan 2009
Posts: 24
Thanks: 6
Thanked 6 Times in 5 Posts
 
Default

seems to be working

if anybody else wants to make these changes
you have to change the lines 1175-1180
Reply With Quote
The Following 2 Users Say Thank You to akamarinos For This Useful Post:
falko (30th December 2010), Steveorevo (11th August 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rkhunter Tripple Installation/Configuration 22 13th May 2014 23:03
Please review RKHUNTER Log jmh_fl General 1 27th April 2010 16:44
3.0.2.1 saying rkhunter and fail2ban not installed BorderAmigos Installation/Configuration 4 7th April 2010 14:13
rkhunter Messages atjensen11 Installation/Configuration 0 16th September 2009 17:59
rkhunter on centos revisited Doug G Installation/Configuration 2 16th August 2009 19:43


All times are GMT +2. The time now is 08:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.