Commit 0e963f7a authored by Florian Schaal's avatar Florian Schaal

added new cron-sheduler to install and fixed server/cron.sh

parent 48ddae21
......@@ -2143,7 +2143,7 @@ class installer_base {
$root_cron_jobs = array(
"* * * * * ".$install_dir."/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` \"\$line\" >> ".$conf['ispconfig_log_dir']."/cron.log; done",
"30 00 * * * ".$install_dir."/server/cron_daily.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` \"\$line\" >> ".$conf['ispconfig_log_dir']."/cron.log; done"
"30 00 * * * ".$install_dir."/server/cron.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` \"\$line\" >> ".$conf['ispconfig_log_dir']."/cron.log; done"
);
if ($conf['nginx']['installed'] == true) {
......
......@@ -9,4 +9,5 @@ if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
fi
fi
cd /usr/local/ispconfig/server
/usr/bin/php -q /usr/local/ispconfig/server/cron.php
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment