XML Sitemaps Generator

Author Topic: CronJob problem  (Read 8879 times)

rcorai

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
CronJob problem
« on: October 17, 2011, 07: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: [external links are visible to admins only]
php -q /usr/bin/php /home/xxx/public_html/generator/runcrawl.php

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: CronJob problem
« Reply #1 on: October 17, 2011, 07: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.

rcorai

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Re: CronJob problem
« Reply #2 on: October 17, 2011, 08:09:37 PM »
Thanks for your help!

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2