Skip to content

Commit

Permalink
Update guides/hosting/infrastructure/scheduled-task.md
Browse files Browse the repository at this point in the history
Co-authored-by: Su <[email protected]>
  • Loading branch information
keulinho and sushmangupta authored Jan 16, 2024
1 parent 98a5a95 commit 246f7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/hosting/infrastructure/scheduled-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ You can run scheduled tasks as part of your queue workers with the help of the s
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.
On startup of this command reads the `scheduled_task` database table and applies the stored intervals, an entry in this table is optional. In the event that these intervals are modified in the database, it is necessary to restart the command for the updated intervals to take effect.
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 246f7a9

Please sign in to comment.