HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=29)
-   -   rkhunter schedule (http://www.howtoforge.com/forums/showthread.php?t=50729)

akamarinos 29th December 2010 18:00

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 ?

akamarinos 29th December 2010 23:49

seems to be working

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


All times are GMT +2. The time now is 17:24.

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