[TYPO3-dev] scheduler_task should clear cache for one page
Kay Strobach
typo3 at kay-strobach.de
Fri Aug 26 11:24:02 CEST 2011
Hi guys,
I think you need an be user to achieve that - don't you ?!
Regards
Kay
Am 26.08.2011 10:05, schrieb Bernd Wilke:
> I have written a scheduler-task to import data.
> this is working, but the FE-display of the data is cached and after an
> data-update the cached page still is shown with old data.
>
> how can I clear cache of a page?
>
> this does not work:
> $TCE = t3lib_div::makeInstance('t3lib_TCEmain');
> $TCE->clear_cache('pages',$viewPage);
>
> it results in:
> Fatal error: Call to a member function getTSConfig() on a non-object in
> /home/..../t3lib/class.t3lib_tcemain.php on line 6223
>
> bernd
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answere was usefull: https://flattr.com/profile/kaystrobach
More information about the TYPO3-dev
mailing list