XML Sitemaps Generator

Author Topic: error with cron job and running from browser  (Read 2372 times)

clera

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
error with cron job and running from browser
« on: June 07, 2016, 08:24:27 AM »
Hi guys, Please help me for my issues bellow:

I am running 2 methods for creating my sitemap with Pro version (run via browser and cron job):

1) message with cron job task:
www/script/sitemap/runcrawl.php: 1: www/script/sitemap/runcrawl.php: cannot open ?php: No such file
www/script/sitemap/runcrawl.php: 102: www/script/sitemap/runcrawl.php: Syntax error: redirection unexpected
2) with browser (chrome)
[external links are visible to admins only]

Please help me it's urgent. Thanks all,

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: error with cron job and running from browser
« Reply #1 on: June 07, 2016, 08:49:49 AM »
Hello,

what is the command line you use for the cron task?
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.

clera

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: error with cron job and running from browser
« Reply #2 on: June 07, 2016, 08:58:16 AM »
[external links are visible to admins only]
Hello,

what is the command line you use for the cron task?

I created it from hosting manager. Let me show you the screenshot.
[external links are visible to admins only]


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: error with cron job and running from browser
« Reply #3 on: June 07, 2016, 07:05:10 PM »
There is missing "php " in the begging of it, it should be:
Code: [Select]
php www/scripts/...(note the sapce after "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.

clera

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: error with cron job and running from browser
« Reply #4 on: June 07, 2016, 07:37:13 PM »
I don't think so because I created from the hosting manager as i showed you. and how about the issue when I running from browser?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: error with cron job and running from browser
« Reply #5 on: June 08, 2016, 05:15:21 AM »
1. The error message posted above means that "php " is missing.

2.  looks like your server configuration doesn't allow to run the script long enough to create full sitemap. Please try to increase memory_limit and max_execution_time settings in php configuration at your host (php.ini file) or contact hosting support regarding this.
 
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.

clera

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: error with cron job and running from browser
« Reply #6 on: June 10, 2016, 09:14:05 PM »
It's still not working as expected and here you can see the screenshots.

[external links are visible to admins only]
[external links are visible to admins only]
[external links are visible to admins only]

They are really big value. I don't know why

Thanks

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: error with cron job and running from browser
« Reply #7 on: June 11, 2016, 05:16:38 AM »
Hello,

please let me know your generator URL/login in private message to check this.
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.

 

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