Merge pull request #29 from scarya/master

Added logrotate to speciallogfiles, fixes #1014
This commit is contained in:
Andreas Burchert
2012-07-20 04:12:12 -07:00
9 changed files with 40 additions and 8 deletions

View File

@@ -222,7 +222,7 @@ return Array(
'cron' => Array(
'label' => 'Crond (cronscript)',
'commands' => Array(
'echo "*/5 * * * * root /usr/local/bin/php -q '.makeCorrectDir(dirname(dirname(dirname(__FILE__)))).'scripts/froxlor_master_cronjob.php" >> /etc/crontab'
'echo "*/5 * * * * root nice -n 5 /usr/local/bin/php -q '.makeCorrectDir(dirname(dirname(dirname(__FILE__)))).'scripts/froxlor_master_cronjob.php" >> /etc/crontab'
),
'restart' => Array(
'/etc/rc.d/cron restart'