[TYPO3-dev] access tables from cron job
Franz Holzinger
franz at fholzinger.com
Tue May 23 08:48:11 CEST 2006
Hello Pieter,
>
> Solution: use updateDB() in class.t3lib_tcemain.php instead of
> exec_UPDATEquery
>
> Problem: updateDB requires a back-end user environment. I get close but
> I don't have a BE_USER profile. What I did up to now:
>
> require_once(PATH_t3lib.'class.t3lib_tcemain.php');
> in a function:
> $tce = t3lib_div::makeInstance('t3lib_TCEmain');
> $tce->updateDB('fe_users',$row[uid],$updateFields);
> Is there a way to hack into this?
>
So IMHO the updateDB should be changed that it does not require a
back-end user environment.
- Franz
More information about the TYPO3-dev
mailing list