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)
[ External links are visible to forum administrators only ]

Please help me it's urgent. Thanks all,
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.
[ External links are visible to forum administrators only ]

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"_
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.
 
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.

[ External links are visible to forum administrators only ]
[ External links are visible to forum administrators only ]
[ External links are visible to forum administrators only ]

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.