CronJob problem
« on: October 17, 2011, 08:16:09 PM »
Hi,
I set a cronjob and I got this message from the server:
Quote
PHP Warning:  Unexpected character in input:  ' ' (ASCII=21) state=1 in /usr/bin/php on line 368
<br />
<b>Warning</b>:  Unexpected character in input:  ' ' (ASCII=21) state=1 in <b>/usr/bin/php</b> on line <b>368</b><br />
PHP Warning:  Unexpected character in input:  ' in /usr/bin/php on line 368
<br />
<b>Warning</b>:  Unexpected character in input:  ' in <b>/usr/bin/php</b> on line <b>368</b><br />
PHP Parse error:  syntax error, unexpected T_STRING in /usr/bin/php on line 368
<br />
<b>Parse error</b>:  syntax error, unexpected T_STRING in <b>/usr/bin/php</b> on line <b>368</b><br />
Is it related with the cronjob I set?
Code: [Select]
php -q /usr/bin/php /home/xxx/public_html/generator/runcrawl.php
Re: CronJob problem
« Reply #1 on: October 17, 2011, 08:33:49 PM »
The command line will be:
Code: [Select]
php -q /home/xxx/public_html/generator/runcrawl.php
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.
Re: CronJob problem
« Reply #2 on: October 17, 2011, 09:09:37 PM »
Thanks for your help!