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

Bjoern Pedersen Bjoern.Pedersen at frm2.tum.de
Wed Oct 1 16:58:45 CEST 2008


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".




More information about the TYPO3-dev mailing list