typo3-crontab
typo3-crontab copied to clipboard
make compatible with TYPO3 12
Tested in TYPO3 11 and 12
@helhum what is the plan here?
According to me tests this solution works with scheduler tasks but not with console commands as there will be a type error in the CommandExecutor. @Kanti have you tested your code in TYPO3 v12 with a console command?
We are running this in Production for about 6 Months without Problems. (with Console Commands) What is the error you are getting? with what PHP Version?
In the CommandExecutor, line 37 an array is passed to ArgvInput which expects an InputInterface or null
@linawolf @Kanti Merge Status to Main?
I see this extension has 2 features.
- It allowed to commit the defined scheduler tasks.
- and it tracks the processid and marked task as not running If they had a problem
One of these features can possible done with events in the scheduler. (Processid)
The other one can be done with an import into the scheduler tasks table.
I think an extension that dose both of these things should be a good solution without much implementation. And using the existing infrastructure from the Core/Scheduler.
The feature that all task are executed in separate process could maybe brought into the core or be done with an xclass. I think that should not be a priority.
@Kanti The Main Problem of TYPO3 Scheduler is the Sharing between multiple Instances. That is Not possible