Skip to content

Commit

Permalink
Update guides/hosting/infrastructure/scheduled-task.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmangupta authored Jan 8, 2024
1 parent ac5b18c commit 20d8c5c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions guides/hosting/infrastructure/scheduled-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,9 @@ This feature is experimental.
:::

You can run scheduled tasks as part of your queue workers with the help of the symfony scheduler component.

``` bash
bin/console messenger:consume scheduler_shopware
```

On startup of this command reads the `scheduled_task` database table and applies the stored intervals, an entry in this table is optional.
To deactivate tasks set status to `Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTaskDefinition::STATUS_INACTIVE` in this table, and restart the consume command.


## Debugging scheduled tasks
Expand Down

0 comments on commit 20d8c5c

Please sign in to comment.