{% extends 'base.html.twig' %} {% block titlesm %} {{ 'crontab.title'|trans }} ({{ entity | length }}) {% endblock %} {% block body %}

{{ 'crontab.title_cron'|trans }}

{% for entityCron in entitiesCron %} {% if entityCron.value == true %} {{ 'crontab.disableCron'|trans }} {{ 'crontab.enableCron'|trans }} {% else %} {{ 'crontab.disableCron'|trans }} {{ 'crontab.enableCron'|trans }} {% endif %} {% endfor %}

{{'crontab.description_cron'|trans|raw}}

{% for message in app.flashes('success') %}
{{ message }}
{% endfor %} {% for message in app.flashes('error') %}
{{ message }}
{% endfor %} {% for value in entity %} {% endfor %}
{{ value.command|slice(0, 20) ~ '...' }}
{{ value.period }} {{ value.description }} {{ value.runningInstances }} {{ value.maxInstances }} {{ value.lastUse|date(app.user.dateFormat ~ " H:i:s", app.user.timezone) }} {{ value.nextRun|date(app.user.dateFormat ~ " H:i:s", app.user.timezone) }}
{% if pager.haveToPaginate %} {{ pagerfanta(pager, 'twitter_bootstrap4', {'routeName': 'jobscheduler_cron_list_page', 'routeParams': {'page': app.request.get('page', 1)}}) }}
{% endif %}

{{'help.title'|trans}}

{{'crontab.help'|trans|raw}}

{% endblock %}