FroshTools icon indicating copy to clipboard operation
FroshTools copied to clipboard

Scheduled tasks

Open JNDUFOUR opened this issue 11 months ago • 1 comments

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 avatar Mar 12 '24 19:03 JNDUFOUR

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

jankal avatar May 02 '24 09:05 jankal

We'll close here.

tinect avatar Jun 07 '24 07:06 tinect