We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da0a817 commit b41dfddCopy full SHA for b41dfdd
server/lib/classes/cron.d/200-logfiles.inc.php
@@ -125,7 +125,7 @@ public function onRunJob() {
125
}
126
127
// compress current logfile
128
- if(is_file($cron_logfile) && filesize($cron_logfile) > 10000000) {
+ if(is_file($cron_logfile)) {
129
exec("gzip -c $cron_logfile > $cron_logfile.1.gz");
130
exec("cat /dev/null > $cron_logfile");
131
0 commit comments