[TYPO3-dev] Scheduler task: Last run?
Marc Wöhlken
woehlken at quadracom.de
Tue Dec 4 15:35:06 CET 2012
Hi Christian!
Am 03.12.2012 21:07, schrieb Christian Kuhn:
> Hey Marc,
>
> On 12/03/2012 03:16 PM, Marc Wöhlken wrote:
>> Currently working on a scheduler task that depends on the last execution
>> time of the task itself.
>>
>> Is there a way to determine (within a task) when a task has been run the
>> last time?
>
> Digging into AbstractTask: Probably not, seems you need to fetch that
> from db yourself, the uid should be in the task object.
Thanks for your feedback, I am fetching the last runtime from db now.
Task uid can easily be found in $taskObject->taskUid.
Regards
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