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
ne on a centos box.
Thank anyway for the hints
yvan
> Original Message
> > Date: Wednesday, March 28, 2007 03:55:09 PM -0700
> > From: Yvan <[EMAIL PROTECTED]>
> > To: php-general@lists.php.net
> > Cc:
> > Subject: [PH
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
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-pac/controlle
8 matches
Mail list logo