Skip to content

Commit 558b543

Browse files
committed
- 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 parent c554153 commit 558b543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/cron_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function _write_crontab() {
213213
}
214214

215215
$command .= "\t";
216-
if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
216+
//if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/';
217217
$command .= $job['command'];
218218
}
219219

0 commit comments

Comments
 (0)