Sven
Sven

Reputation: 802

TYPO3 scheduler task with Extbase

When creating a scheduler task with Extbase CommandController, how can I tell the scheduler extension that a task failed? When creating tasks with scheduler (without Extbase), this is done with "return false", but this has no effect in tasks with Extbase CommandController.

Upvotes: 0

Views: 107

Answers (1)

Daniel
Daniel

Reputation: 7016

You can throw an Exception. That will mark the scheduler task as failed.

Upvotes: 4

Related Questions