Skip to content

Commit

Permalink
Use APP_ENV variable to enable enduser to make command more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
flohw committed Jul 17, 2024
1 parent 425c75d commit 4168320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/template.txt.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ MAILTO="{{ mailto }}"
{% for cron in crons %}
# {{ cron.name }}

{{ cron.expression }} {{ user }} {{ php_version }} {{ absolute_path }} {{ cron.command }} --env={{ env }}
{{ cron.expression }} {{ user }} APP_ENV={{ env }} {{ php_version }} {{ absolute_path }} {{ cron.command }}

{% endfor %}

0 comments on commit 4168320

Please sign in to comment.