error with cron job and running from browser
« on: June 07, 2016, 09: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)
http://prntscr.com/bd3thz

Please help me it's urgent. Thanks all,
Re: error with cron job and running from browser
« Reply #1 on: June 07, 2016, 09: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.
Re: error with cron job and running from browser
« Reply #2 on: June 07, 2016, 09:58:16 AM »
Hello,

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

I created it from hosting manager. Let me show you the screenshot.
http://prntscr.com/bdcla6

Re: error with cron job and running from browser
« Reply #3 on: June 07, 2016, 08: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.
Re: error with cron job and running from browser
« Reply #4 on: June 07, 2016, 08: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?
Re: error with cron job and running from browser
« Reply #5 on: June 08, 2016, 06: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.
Re: error with cron job and running from browser
« Reply #6 on: June 10, 2016, 10:14:05 PM »
It's still not working as expected and here you can see the screenshots.

http://prntscr.com/bev5jx
http://prntscr.com/bev5sz
http://prntscr.com/bev7pg

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

Thanks
Re: error with cron job and running from browser
« Reply #7 on: June 11, 2016, 06: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.