Feature #65741
open
CommandController commands should have Progressbar in Scheduler
Added by Hans Höchtl over 9 years ago.
Updated over 3 years ago.
Description
It would be a great feature if the extbase CommandController could use the ProgressProviderInterface somehow so it's possible to display the progress of the scheduler task.
- Status changed from New to Closed
we implemented this (see CommandController->output->progressBar()).
- Subject changed from CommandController commands should have Progressbar to CommandController commands should have Progressbar in Scheduler
- Status changed from Closed to New
This is actually about progress of commands in the Scheduler module.
- Priority changed from Could have to Should have
I suggest raising the priority to "Should have", as it does not make sense to implement adding CommandController tasks to Scheduler without having the possibility to use the progress bar as an obviously more than helpful main feature.
Hello Hans,
since we are using SymfonyCommands we can not add SchedulerTask as Argument to $input of your Command, as this argument would be available on CLI, too, which is definitely wrong.
I would prefer to close this issue.
Stefan
- Category changed from Extbase to scheduler
I think this issue is valid in general but since we don't have CommandControllers any more and since the scheduler doesn't allow for such a feature to be implemented properly, I don't see a chance to have this in the core anytime soon.
I will change the category of this ticket and address this issue in the core team.
A symfony command could additionally implement the ProgressProviderInterface
and with a little support in SchedulerModuleController
and in ExecuteSchedulableCommandTask
it should be possible to display the progress bar in the module.
Also available in: Atom
PDF