On 3/28/07, Chris <[EMAIL PROTECTED]> wrote:
> There is a lot of require_once(' ') in the script and if i am not in the
correct folder the script won't work.
That is something php related ;)
Change your require to something like this:
require(dirname(__FILE__) . '/other_file_name.php');
--
There is a lot of require_once(' ') in the script and if i am not in the correct folder the script won't work.
That is something php related ;)
Change your require to something like this:
require(dirname(__FILE__) . '/other_file_name.php');
--
Postgresql & php tutorials
http://www.designmag
Shell command as cron jobs work and errors are also send to the local mail, but
php scripts are not executed
Does running the command manually work?
If not, there's your problem.
If it does, then it's a cron issue.
Still something you should ask about on a mac mailing list.
--
Postgresql
On March 28, 2007, Chris wrote:
> Yvan wrote:
> > Hello all,
> >
> > I don't know if it's the correct list, but as a php script is involved
>
> Nope, not the right list. Cron isn't running - which has absolutely
> nothing to do with php.
>
> > I try to start a set up a crontab job with cron
On March 28, 2007, [EMAIL PROTECTED] wrote:
> this question really has nothing to do with php ... that said.
>
> on standard unix systems, user-level crontabs (which is what you're
> writing with the crontab -e command) are found in
> /var/spool/cron/. there's also generally a cron log in /var/log
Yvan wrote:
Hello all,
I don't know if it's the correct list, but as a php script is involved
Nope, not the right list. Cron isn't running - which has absolutely
nothing to do with php.
I try to start a set up a crontab job with crontab -e, which should start a php
script:
*/10*
Yvan wrote:
Hello all,
I don't know if it's the correct list, but as a php script is involved
I try to start a set up a crontab job with crontab -e, which should start a php
script:
*/10* * * * cd /Users/yvan/Sites/est-pac/ ;
/usr/bin/php /Users/yvan/Sites/est
7 matches
Mail list logo