title | issue |
---|---|
Update ScheduledTask run interval after plugin update |
NEXT-25125 |
- Added
defaultRunInterval
toScheduledTask
entity, which will be required in v6.6.0.0. - Changed
\Shopware\Core\Framework\MessageQueue\ScheduledTask\Registry\TaskRegistry::registerTasks
to update thedefaultRunInterval
and therunInterval
(if the runInterval was not changed manually) of a scheduled task when they have changed.
The defaultRunInterval
field is now required for ScheduledTask
entities. So you now have to provide the following required fields to create a new Scheduled Task in the DB:
name
scheduledTaskClass
runInterval
defaultRunInterval
status