Falko Timme
2014-05-03 558b543b6eda1d3532e38bd48e93304259a2f166
- Make sure full cron jobs are written unchanged; with the previous version, a cron job like "cd /var/www/example.com/web/ && /opt/php-5.4.23/bin/php shopware.php /backend/cron" was changed to "/var/www/clients/client1/web1/cd /var/www/example.com/web/ && /opt/php-5.4.23/bin/php shopware.php /backend/cron" which of course does not work.
1 files modified
2 ■■■ changed files
server/plugins-available/cron_plugin.inc.php 2 ●●● patch | view | raw | blame | history
server/plugins-available/cron_plugin.inc.php
@@ -213,7 +213,7 @@
                    }
                    $command .= "\t";
                    if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
                    //if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
                    $command .= $job['command'];
                }