带有 Extbase 的 TYPO3 调度程序任务

TYPO3 scheduler task with Extbase

在使用 Extbase CommandController 创建调度程序任务时,如何告知调度程序扩展任务失败? 当使用调度程序(没有 Extbase)创建任务时,这是通过 "return false" 完成的,但这对使用 Extbase CommandController 的任务没有影响。

您可以抛出异常。这会将调度程序任务标记为失败。