Home > Magento Tips > Products In Google – Scheduling

Products In Google – Scheduling

Posted on: 9th Aug 2011 By: Robert Kent 4 Comments

Many of you might have seen the post about adding products into Google by using a manual method here: Google Products

What a lot of people may not know is that you can schedule your google base script to run via a cron job – and then schedule Google itself to pick up on your re-rendered txt file.

To set up a cron simply follow the cron blog :- Magento Cron Job

However when it comes to the line “command” use the following:

/usr/bin/curl http://www.mydomain.co.uk/export/gbase.php

Obviously changing the URL for yours. What I’d also do is set it up to run in the morning. So for minutes enter: 1. For hours enter: 2. And everything else can be * (for every).

This will set up the cron job to execute the file at 02:01am every day. Therefore (depending on size of stocklist) you will have a new list of products every morning before 3am.

Now all you need to do is set up your Google account to schedule and upload at 3:00am every morning – this way you will ensure that your google products list is always up to date :)

Google are always updating their Google products feed – so keep an eye on it!

Thanks for visiting our Magento blog here at e-commerce web design.

4 Responses to “ Products In Google – Scheduling ”

  1. Magento webshop
    #1 | 20th August 2011

    Great post, will definitly use this for our costumers in the NL.

  2. tradepricetiles
    #2 | 22nd August 2011

    will this and the previous post still work now google has decomissioned the google base apis?

  3. tiles online
    #3 | 19th September 2011

    Answered my own question! yes it will as long as you conform to the guidelines.
    I used your blog articles as a basis to create my own XML feed, this way i can submit to a few other sites too.
    Thanks for the articles – very useful.

  4. Products In Google (Updated), Magento Blog and E-Commerce
    #4 | 20th September 2011

    [...] Follow the Google Scheduling Tutorial [...]

Post A Comment

Your comments:
Enclose code snippets within the appropriate tags: [php][/php]   [js][/js]   [xml][/xml]   [css][/css]   [html][/html]
E.g: [php]<?php echo "hello world"; ?>[/php]

Search Blog

Archives

For the record...

Views & opinions in this blog are those of the individual and do not necessarily reflect those of E-commerce Web Design or the Creare Group.