Hello,
I would like to run the following command in a Cron Job:
http://www.values-galore.com/googlefroogle.php?feed=yes&upload=yes&type=productsThis is for my store's Google Base feed in my Zen Cart installation. I have the feed working properly so there's no problem there. I can manually run this scrip from within my administration area on my store. However, it's been suggested to setup a Cron Job so I can have all my updates to my store products updated at Google Base for me. The above command I can actually run from an internet browser and it works perfect. However, I am unfamiliar with Cron Jobs and I can't seem to get the command right. I tried using
GET,
wget,
curl -s,
PHP but none worked. The
GET &
curl -s commands do work but not correctly. They actually produces weird results. What is suppose to happen is a file on the server is remade every time the command is run. It is saved as
vg_google_products.xml on the server. It is then uploaded to
uploads.google.com with my username and password. Well the weird results the
GET &
curl -s does is save the file as
vg_google_.xml, saves the file with permissions of 777, only includes my store name and store website (no products) then fails to upload it.
So, something in the Cron Job command has to tell the file to run properly. Can anyone assist?