We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de2879c commit af5bdb6Copy full SHA for af5bdb6
1 file changed
install/lib/installer_base.lib.php
@@ -3927,7 +3927,7 @@ public function install_crontab() {
3927
$install_dir = $conf['ispconfig_install_dir'];
3928
3929
//* Root Crontab
3930
- exec('crontab -u root -l > crontab.txt');
+ exec('crontab -u root -l > crontab.txt 2>/dev/null');
3931
$existing_root_cron_jobs = file('crontab.txt');
3932
3933
// remove existing ispconfig cronjobs, in case the syntax has changed
@@ -3956,7 +3956,7 @@ public function install_crontab() {
3956
//* Getmail crontab
3957
if(is_user('getmail')) {
3958
$cf = $conf['getmail'];
3959
- exec('crontab -u getmail -l > crontab.txt');
+ exec('crontab -u getmail -l > crontab.txt 2>/dev/null');
3960
$existing_cron_jobs = file('crontab.txt');
3961
3962
$cron_jobs = array(
0 commit comments