Closed powli closed 7 months ago
When defining cron commands to be lazy, they will be loaded as instances of LazyCommand and thus fail the $command instanceof CronCommandScheduleDefinitionInterface check.
$command instanceof CronCommandScheduleDefinitionInterface
Compare SymfonyConsole Application::doRun.
This already affects the RemoveOrphanedMaterializedViewsCronCommand definition not being loaded
:heavy_check_mark: resolved by https://github.com/oroinc/platform/commit/82d418f98a2b5a55927b1a379a99cde468ad6e4f
When defining cron commands to be lazy, they will be loaded as instances of LazyCommand and thus fail the
$command instanceof CronCommandScheduleDefinitionInterface
check.Compare SymfonyConsole Application::doRun.
This already affects the RemoveOrphanedMaterializedViewsCronCommand definition not being loaded