[TYPO3-dev] @file_get_contents($url) returns nothing when running script from cronjob

Brian Bendtsen bb at bellevuevej.dk
Wed Oct 1 17:21:25 CEST 2008


Bjoern Pedersen skrev:
> Brian Bendtsen <bb at bellevuevej.dk> writes:
> 
>> Hi
>>
>> Im calling the script like this:
>>
>> * * * * * php
>> /var/www/typo3/my_t3_site/typo3conf/ext/aux_newsmailer/mailer/mailer.sh
>>
>> Is that not enough?
>>
>> /Brian
> 
> 
> Probably: no. The directory from which pathes will get resolved is
> probably either / or the home directory of the user running the
> script.  You need to do an explicit "cd".

Im not sure I understand this - can you show an example?

/Brian




More information about the TYPO3-dev mailing list