• Welcome to Sitemap Generator Forum.
 

error with cron job and running from browser

Started by clera, June 07, 2016, 09:24:27 AM

Previous topic - Next topic

clera

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,


clera

Quote from: XML-Sitemaps Support on June 07, 2016, 09:49:49 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 ]



clera

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

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.
 

clera

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