diff options
author | mmoel <moeller@gmx.org> | 2014-05-19 08:31:12 +0200 |
---|---|---|
committer | mmoel <moeller@gmx.org> | 2014-05-19 08:31:12 +0200 |
commit | 53c67d452e0487fccabc47fe22e58e389424a70f (patch) | |
tree | c6b539946e258ec549e3aa6da6fceb2a551672df | |
parent | f2a1fd070eaab580768132d27bb41da9946e0a9a (diff) | |
download | pfsense-packages-53c67d452e0487fccabc47fe22e58e389424a70f.tar.gz pfsense-packages-53c67d452e0487fccabc47fe22e58e389424a70f.tar.bz2 pfsense-packages-53c67d452e0487fccabc47fe22e58e389424a70f.zip |
Add --no-header to cron execution command
Without --no-header on every cron sarg execution, the php script outputs the line "Content-type: text/html". This will be emailed
-rw-r--r-- | config/sarg/sarg.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc index 1a4db315..2788dab9 100644 --- a/config/sarg/sarg.inc +++ b/config/sarg/sarg.inc @@ -354,7 +354,7 @@ function sync_package_sarg() { else $new_cron['item'][]=$cron; } - $cron_cmd="/usr/local/bin/php /usr/local/www/sarg.php"; + $cron_cmd="/usr/local/bin/php --no-header /usr/local/www/sarg.php"; $sarg_schedule_id=0; if (is_array($config['installedpackages']['sargschedule']['config'])) foreach ($config['installedpackages']['sargschedule']['config'] as $sarg_schedule){ |