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

Brian Bendtsen bb at bellevuevej.dk
Wed Oct 1 18:21:16 CEST 2008


Bjoern Pedersen skrev:
> Xavier Perseguers <typo3 at perseguers.ch> writes:
> 
>> This means
>>
>> * * * * * cd /var/www/typo3/my_t3_site && php
>> typo3conf/ext/aux_newsmailer/mailer/mailer.sh
>>
>> BTW, your script should be named mailer.phpsh instead of .sh but
>> that's not a blocking point.
>>
> 
> it probably should be
> cd /var/www/typo3/my_t3_site/typo3conf/ext/aux_newsmailer/mailer  
> 
> To debug it, add  getwd() to your script and print the output. 
> Björn

Ohh man, that did it. Now it works - thanks a lot

/Brian




More information about the TYPO3-dev mailing list