Skip to content

Commit b165707

Browse files
author
Till Brehm
committed
Merge branch 'patch-allow-redirect-cron' into 'stable-3.1'
Do not add redirection when the command already does that itself. See merge request ispconfig/ispconfig3!970
2 parents ad23384 + 03ed866 commit b165707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/cron_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function _write_crontab() {
224224
$cron_line = str_replace(" ", "", $job['run_min']) . "\t" . str_replace(" ", "", $job['run_hour']) . "\t" . str_replace(" ", "", $job['run_mday']) . "\t" . str_replace(" ", "", $job['run_month']) . "\t" . str_replace(" ", "", $job['run_wday']);
225225
}
226226

227-
$log_target = ">/dev/null 2>&1";
227+
$log_target = "";
228228
$log_wget_target = '/dev/null';
229229
$log_root = '';
230230
if($job['log'] == 'y') {

0 commit comments

Comments
 (0)