‪TYPO3CMS  ‪main
TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand Class Reference
Inheritance diagram for TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand:

Public Member Functions

 __construct (protected readonly Context $context, protected readonly SchedulerTaskRepository $taskRepository, protected Scheduler $scheduler,)
 
 configure ()
 
 execute (InputInterface $input, OutputInterface $output)
 

Protected Member Functions

 getSelectableTasks (mixed $taskGroups)
 

Protected Attributes

SymfonyStyle $io
 

Private Member Functions

 askForTasksAndRun (InputInterface $input, OutputInterface $output)
 
 runTasks ($selectedTasks, $taskGroups)
 
 getTaskUidsFromSelection (array $list, array $groups)
 
 getLanguageService ()
 
 getTasksToRun (array $taskGroups, array $taskList)
 

Detailed Description

CLI command for EXT:scheduler to execute tasks

Definition at line 38 of file SchedulerExecuteCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::__construct ( protected readonly Context  $context,
protected readonly SchedulerTaskRepository  $taskRepository,
protected Scheduler  $scheduler 
)

Definition at line 42 of file SchedulerExecuteCommand.php.

Member Function Documentation

◆ askForTasksAndRun()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::askForTasksAndRun ( InputInterface  $input,
OutputInterface  $output 
)
private

◆ configure()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::configure ( )

Definition at line 50 of file SchedulerExecuteCommand.php.

◆ execute()

◆ getLanguageService()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::getLanguageService ( )
private

◆ getSelectableTasks()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::getSelectableTasks ( mixed  $taskGroups)
protected

◆ getTasksToRun()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::getTasksToRun ( array  $taskGroups,
array  $taskList 
)
private

◆ getTaskUidsFromSelection()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::getTaskUidsFromSelection ( array  $list,
array  $groups 
)
private

◆ runTasks()

TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::runTasks (   $selectedTasks,
  $taskGroups 
)
private

Member Data Documentation

◆ $io

SymfonyStyle TYPO3\CMS\Scheduler\Command\SchedulerExecuteCommand::$io
protected

Definition at line 40 of file SchedulerExecuteCommand.php.