If I would run task everyday?
« on: January 03, 2007, 10:21:49 PM »
Hi,

what I can do to create a daily task to create a sitemap everyday?

what I can do to save the sitemap.xml in my root? Set I permission of root tu 0666 ?

I'am italian and don't speack correctly english
Re: If I would run task everyday?
« Reply #1 on: January 04, 2007, 12:30:27 AM »
Hello,

usually you can setup scheduled task in your hosting control panel to generated sitemap automatically, please check your control panel documentation or contact hosting support for more details. The command line to run generator is:
Code: [Select]
/usr/bin/php /path/to/generator/runcrawl.php

Quote
what I can do to save the sitemap.xml in my root? Set I permission of root tu 0666 ?
You should manually create empty sitemap.xml file in domain root and set the file permissions to 0666 (do not change permissions of root folder itself, only sitemap.xml file).