File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3927,7 +3927,7 @@ public function install_crontab() {
39273927 $ install_dir = $ conf ['ispconfig_install_dir ' ];
39283928
39293929 //* Root Crontab
3930- exec ('crontab -u root -l > crontab.txt ' );
3930+ exec ('crontab -u root -l > crontab.txt 2>/dev/null ' );
39313931 $ existing_root_cron_jobs = file ('crontab.txt ' );
39323932
39333933 // remove existing ispconfig cronjobs, in case the syntax has changed
@@ -3956,7 +3956,7 @@ public function install_crontab() {
39563956 //* Getmail crontab
39573957 if (is_user ('getmail ' )) {
39583958 $ cf = $ conf ['getmail ' ];
3959- exec ('crontab -u getmail -l > crontab.txt ' );
3959+ exec ('crontab -u getmail -l > crontab.txt 2>/dev/null ' );
39603960 $ existing_cron_jobs = file ('crontab.txt ' );
39613961
39623962 $ cron_jobs = array (
You can’t perform that action at this time.
0 commit comments