[TYPO3-dev] How to create a realurl link in a scheduler task?

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Jan 11 15:11:13 CET 2012


Hi!

Jigal van Hemert wrote:
> Are you sure it will work for Scheduler Tasks called from a cronjob? I
> took a brief look inside the extension, but calling the eID script
> relies on t3lib_div::getIndpEnv('TYPO3_SITE_URL'), which in its turn
> relies on PATH_site. With cron invoked tasks PATH_site is the path on
> the file system to the TYPO3 site (e.g. /var/www/html/domain.ext/).
> Using this path for a call to the frontend will certainly not work.

Use version 1.0.0. It works from the scheduler.

-- 
Dmitry Dulepov
TYPO3 core team member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd

Simplicity will save the world.




More information about the TYPO3-dev mailing list