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

Bjoern Pedersen Bjoern.Pedersen at frm2.tum.de
Wed Oct 1 18:04:01 CEST 2008


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




More information about the TYPO3-dev mailing list