You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hallo @rschueler
in den Commands sollte es den Command app:cron geben und dieser startet den Cron Service.
Der Service kann auch über eine URL gestartet werden aber der Command sollte korrekt sein.
Describe the bug
The docker console for the app container shows following error:
time="2024-05-08T13:04:00+02:00" level=info msg=starting iteration=68 job.command="sudo -E -u docker -- bash -c 'php /var/www/html/bin/console cron:run'" job.position=0 job.schedule="* * * * *" time="2024-05-08T13:04:00+02:00" level=info channel=stderr iteration=68 job.command="sudo -E -u docker -- bash -c 'php /var/www/html/bin/console cron:run'" job.position=0 job.schedule="* * * * *" time="2024-05-08T13:04:00+02:00" level=info msg=" " channel=stderr iteration=68 job.command="sudo -E -u docker -- bash -c 'php /var/www/html/bin/console cron:run'" job.position=0 job.schedule="* * * * *" time="2024-05-08T13:04:00+02:00" level=info msg=" There are no commands defined in the \"cron\" namespace. " channel=stderr iteration=68 job.command="sudo -E -u docker -- bash -c 'php /var/www/html/bin/console cron:run'" job.position=0 job.schedule="* * * * *" time="2024-05-08T13:04:00+02:00" level=info msg=" " channel=stderr iteration=68 job.command="sudo -E -u docker -- bash -c 'php /var/www/html/bin/console cron:run'" job.position=0 job.schedule="* * * * *" time="2024-05-08T13:04:00+02:00" level=info channel=stderr iteration=68 job.command="sudo -E -u docker -- bash -c 'php /var/www/html/bin/console cron:run'" job.position=0 job.schedule="* * * * *" time="2024-05-08T13:04:00+02:00" level=error msg="error running command: exit status 1" iteration=68 job.command="sudo -E -u docker -- bash -c 'php /var/www/html/bin/console cron:run'" job.position=0 job.schedule="* * * * *
It look like the wrong command is used "console cron:run" instead of "console app:cron"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error shown
The text was updated successfully, but these errors were encountered: