diff --git a/templates/crontabs/template.twig b/templates/crontabs/template.twig index 3675ecf808bcd860a7080f85a2b1a86550b193d6..d3faacea0b6b1ed82b09376c11b7f750142052e4 100644 --- a/templates/crontabs/template.twig +++ b/templates/crontabs/template.twig @@ -5,6 +5,6 @@ tty = true user = {{ line.user }} schedule = {{ line.schedule }} container = {{ projectname }}-php-1 -command = sh -c \"{{ line.command|raw|replace({'/usr/local/bin/drush': '/var/www/html/vendor/bin/drush'}) }}{% if line.ping_url %} && curl -fsS --retry 5 --retry-delay 9 -o /dev/null {{ line.ping_url }}{% endif %}\" +command = sh -c \"{{ line.command|raw|replace({'/usr/local/bin/drush': '/var/www/html/vendor/bin/drush'})|raw }}{% if line.ping_url %} && curl -fsS --retry 5 --retry-delay 9 -o /dev/null {{ line.ping_url }}{% endif %}\" {% endfor %}