From c211f7aef368f5a5395b5f938524879da3d00271 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Tue, 29 Jun 2010 12:50:32 +0000 Subject: [PATCH] --- server/cron_daily.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cron_daily.php b/server/cron_daily.php index dd32c4621..36bb43321 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -228,7 +228,7 @@ foreach($records as $rec) { ####################################################################################################### // rotate the ispconfig.log when it exceeds a size of 10 MB -$logfile = '/var/log/ispconfig/ispconfig.log'); +$logfile = '/var/log/ispconfig/ispconfig.log'; if(is_file($logfile) && filesize($logfile) > 10000000) { exec("gzip -c $logfile > $logfile.1.gz"); exec("cat /dev/null > $logfile"); -- GitLab