Page 1 of 1

Cron error

Posted: Wed Sep 10, 2014 5:24 pm
by vestacp89
Hello,

I get error on cron

Code: Select all

PHP Notice:  Undefined offset: 0
when i try manual script work fine,
I try on other server on cpanel work fine,
probably is some cron option problem idk really
my url path is:

Code: Select all

/usr/bin/php /home/admin/web/domain.com/public_html/cron.php
maybe is wrong path ?

Thanks,
:)

Re: Cron error

Posted: Wed Sep 10, 2014 6:04 pm
by vestacp89
i try with next path and work,

Code: Select all

wget http://your_domain.com/cron.php
anyone can explain me why work with this and not work with

Code: Select all

/usr/bin/php /home/admin/web/domain.com/public_html/cron.php
?

Thanks.