typo3-crontab icon indicating copy to clipboard operation
typo3-crontab copied to clipboard

make compatible with TYPO3 12

Open Kanti opened this issue 1 year ago • 7 comments

Tested in TYPO3 11 and 12

Kanti avatar Apr 25 '23 19:04 Kanti

@helhum what is the plan here?

linawolf avatar Jun 17 '24 09:06 linawolf

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?

linawolf avatar Jun 25 '24 08:06 linawolf

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?

Kanti avatar Jun 25 '24 08:06 Kanti

In the CommandExecutor, line 37 an array is passed to ArgvInput which expects an InputInterface or null

linawolf avatar Jun 25 '24 08:06 linawolf

@linawolf @Kanti Merge Status to Main?

devtroll avatar Sep 19 '24 16:09 devtroll

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 avatar Sep 19 '24 16:09 Kanti

@Kanti The Main Problem of TYPO3 Scheduler is the Sharing between multiple Instances. That is Not possible

devtroll avatar Sep 19 '24 17:09 devtroll