Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 797 Bytes

2023-03-14-update-schedule-task-interval-after-plugin-update.md

File metadata and controls

17 lines (16 loc) · 797 Bytes
title issue
Update ScheduledTask run interval after plugin update
NEXT-25125

Core

  • Added defaultRunInterval to ScheduledTask entity, which will be required in v6.6.0.0.
  • Changed \Shopware\Core\Framework\MessageQueue\ScheduledTask\Registry\TaskRegistry::registerTasks to update the defaultRunInterval and the runInterval (if the runInterval was not changed manually) of a scheduled task when they have changed.

Next Major Version Changes

defaultRunInterval field is required for ScheduledTask entities

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