Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled tasks #253

Open
JNDUFOUR opened this issue Mar 12, 2024 · 1 comment
Open

Scheduled tasks #253

JNDUFOUR opened this issue Mar 12, 2024 · 1 comment
Labels
kind/question Further information is requested

Comments

@JNDUFOUR
Copy link

Question

I am reaching out today because I have encountered an issue with my Shopware 6.5.8 installation. I have noticed a persistent error indicating "Scheduled tasks overdue," with a warning specifying a delay of 76 minutes, whereas the maximum acceptable delay is 10 minutes.

However, I have added the following cron job to the server to run every 3 minutes:

javascript

/bin/console messenger:consume async --time-limit=30 --memory-limit=128M >/dev/null 2>&1

Capture d’écran 2024-03-12 à 20 45 02 Capture d’écran 2024-03-12 à 20 45 02
@JNDUFOUR JNDUFOUR added the kind/question Further information is requested label Mar 12, 2024
@jankal
Copy link

jankal commented May 2, 2024

Hey @JNDUFOUR
Your command does not run scheduled tasks.

To run scheduled tasks periodically, refere to the the shopware docs - https://developer.shopware.com/docs/guides/plugins/plugins/plugin-fundamentals/add-scheduled-task.html#executing-the-scheduled-task

$ bin/console scheduled-task:run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants