[TYPO3] Loading TYPO3 outside TYPO3
peter.russ at 4many.net
Tue Mar 21 14:10:01 CET 2006
Johannes Reichardt schrieb:
> Hi there,
> i have some neat functions in my own extensions that use the dbal and
> other Typo3 functions. But i also have a script outside the scope of
> typo3 (for a cronjob) that uses these functions.
> The point is, that i am confused how i can properly "load" typo3 and its
> classes so i can access them from an "outside" script. Would be glad if
> someone has some hints. Unfortunatly i have not much knowledge about
> handling classes in general and moreover handling classes with typo3 ;)
> - Johannes
1) Good and working example is the cron for the direct mail extension.
2) I would recommend NOT to use command line but to use http calls
instead. On .NIX you can realise it with wget, on Windows create a
shortcut and set the scheduler or make the page offline available and
set the properties.
More information about the TYPO3-english