[TYPO3-dev] Scheduler task: Last run?

Marc Wöhlken woehlken at quadracom.de
Mon Dec 10 13:58:01 CET 2012


Hi!
Fetching the last task runtime from db is NOT working!

The problem is that a tasks last run time is updated before the
corresponding execute() method is called.

That means tx_scheduler_Task::markExecution() is executed before
tx_scheduler_Task::execute().

I can see that this behavior is desireable in cases where the execute()
method fails but is there any alternative way to get a tasks last run
time within the task itself?!

Hoping for any hints
Marc


-- 
...........................................................
Marc Wöhlken                     TYPO3 certified integrator

Quadracom - Proffe & Wöhlken

Rembertistraße 32              WWW: http://www.quadracom.de
D-28203 Bremen                E-Mail: woehlken at quadracom.de
______________             PGP-Key: http://pgp.quadracom.de



More information about the TYPO3-dev mailing list