diff --git a/server/cron_daily.php b/server/cron_daily.php index dd32c4621c389a969d86d13b3d4134348b24197b..36bb43321d279c03e9b71a661ba3aa30686af75b 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");