diff --git a/Classes/Scheduler/ProcessTask.php b/Classes/Scheduler/ProcessTask.php index 7a20906..f5221ea 100644 --- a/Classes/Scheduler/ProcessTask.php +++ b/Classes/Scheduler/ProcessTask.php @@ -11,6 +11,7 @@ class ProcessTask extends AbstractBaseTask implements ProgressProviderInterface { + public $numberOfItemsPerRun = 100; /** * This is the main method that is called when a task is executed diff --git a/Classes/Scheduler/ProcessTaskAdditionalFieldProvider.php b/Classes/Scheduler/ProcessTaskAdditionalFieldProvider.php index c320d51..9f6a668 100644 --- a/Classes/Scheduler/ProcessTaskAdditionalFieldProvider.php +++ b/Classes/Scheduler/ProcessTaskAdditionalFieldProvider.php @@ -34,7 +34,7 @@ public function getAdditionalFields(array &$taskInfo, $task, \TYPO3\CMS\Schedule } $additionalFields[$fieldId] = [ - 'code' => '', + 'code' => '', 'label' => 'LLL:EXT:versatile_crawler/Resources/Private/Language/locallang_backend.xlf:scheduler.processTask.numberOfItemsPerRun' ];