1

I'm trying to set up Magento so it updates a Google Site Map every day (or week) but I think I'm missing one step as it's not working. Is  there something I need to do on the server? Set up a cron job or something? I have absolutely no clue about this kind of thing, so  any info/ help guidance would be great! Thanks

2

Hi, without more information the answer is that yes you prob do need to set up a cron job to do the update at a specified time.

You can create cron jobs if ur using a Plesk control panel under the domain level :Crontab -> Click on User -> Click on ""Add scheduled task"".

Its more than likely a php script you will be intending to run and so the command needs to be in this format : /usr/bin/php /var/www/vhosts/YOUR_DOMAIN_HERE/httpdocs/path_to_php_file/php_file.php. For help on the scheduling aspect, the below data is taken from the Plesk help : To schedule a task:

   1. Click the Server shortcut in the navigation pane.
   2. Click the Scheduled Tasks icon in the Services group.
   3. Select the system user account on whose behalf the task will be executed.
   4. Click Add New Task.
   5. Specify when to run your command:
          * Minute - enter the value from 0 to 59
          * Hour - enter the value from 0 to 23
          * Day of the Month - enter the value from 1 to 31
          * Month - enter the value from 1 to 12, or select the month from a drop-down box
          * Day of the Week - enter the value from 0 to 6 (0 for Sunday), or select the day of the week from a drop-down box
You can schedule the time using the UNIX crontab entry format. In this format, you can  * enter several values separated by commas. Two numbers separated by a hyphen mean an inclusive range. For example, to run a task on the 4th, 5th, 6th, and 20th of a month, type 4-6,20. * insert an asterisk to specify all values allowed for this field. For example, to run a task daily, type * in the Day of the Month text box. To schedule the task to run every Nth period, enter the combination */N, where N is the legal value for this field (minute, hour, day, month). For example, */15 in the Minute field schedules the task to start every 15 minutes.
You can type the contracted names of months and days of the week, which are the first three letters: Aug, Jul, Mon, Sat, etc. However, the contracted names cannot be separated with commas or used together with numbers.
   6. Specify which command to run. Type it into the Command input box.
   7. Click OK.


wink