{% for line in loopoptions|default([]) %}
[job-exec "{{  line.name }}"]
no-overlap = true
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'})|raw }}{% if line.ping_url %} && curl -fsS --retry 5 --retry-delay 9 -o /dev/null {{ line.ping_url }}{% endif %}\"

{% endfor %}