Products In Google – Scheduling
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.


Great post, will definitly use this for our costumers in the NL.
will this and the previous post still work now google has decomissioned the google base apis?
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.
[...] Follow the Google Scheduling Tutorial [...]