File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -646,7 +646,7 @@ public function install_crontab()
646646 exec ('crontab -u root -l > crontab.txt ' );
647647 $ existing_root_cron_jobs = file ('crontab.txt ' );
648648
649- $ root_cron_jobs = array ('* * * * * /usr/bin/php -q /usr/ local/ispconfig/server/server.sh &> /dev/null ' );
649+ $ root_cron_jobs = array ('* * * * * /usr/local/ispconfig/server/server.sh &> /dev/null ' );
650650 foreach ($ root_cron_jobs as $ cron_job ) {
651651 if (!in_array ($ cron_job ."\n" , $ existing_root_cron_jobs )) {
652652 $ existing_root_cron_jobs [] = $ cron_job ."\n" ;
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
4+
5+ /usr/bin/php -q /usr/local/ispconfig/server/server.php
You can’t perform that action at this time.
0 commit comments