Forums / All Other Contributions/Addons / OH this GOOGLE BASE and cron!

OH this GOOGLE BASE and cron!

Locked

Views: 1,584

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
2 Mar 2008, 8:40 PM
#1
edee avatar

edee

New Zenner

Join Date:
Feb 2008
Posts:
24
Plugin Contributions:
0

OH this GOOGLE BASE and cron!

I am trying to set my cron up to do the google base "thing" once a week.

What should I put for the file it needs to crab?
I have no idea and it's driving me crazy!

Thank you,
~eDee

3 Mar 2008, 10:02 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: OH this GOOGLE BASE and cron!

The cron job code is provided in the readme files. You have to make sure your host allows cron jobs to be set by clients (usually via C-Panel), and if so, you have to know if there are limitations on the way the cron is set up. (Some hosts, for example, don't allow "wget" commands.

There are tutorials on the WWW explaining how to set up a cron job - C-Panel usually allows you to use a "standard" or "advanced" interface.

Look at the cron command instructions provided in the googlebase mod readme files, then, in your c-panel cron screen, toggle between the "standard" and "advanced" input screens - you'll see what is required.

20 years a Zencart User

7 May 2008, 2:56 PM
#3
mcgill avatar

mcgill

Zen Follower

Join Date:
Aug 2005
Posts:
101
Plugin Contributions:
0

Re: OH this GOOGLE BASE and cron!

This to generate the file:

GET'http://www.mysite.co.uk/googlefroogle.php?feed=yes&upload=no&type=products' > /dev/null 2>&1

This to upload it

GET 'http://www.mysite.co.uk/googlefroogle.php?feed=yes&upload=yes&type=products' > /dev/null 2>&1

Only a fool say's money doesn't matter. No rich man ever starved to death.

7 May 2008, 11:58 PM
#4
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: OH this GOOGLE BASE and cron!

Did you know that Google Base now has an option to upload from a file that you can specify from within the Google Base interface? This completely eliminates the whole cron problem. Just update your Google Base file within your admin panel before the automatic upload of the file. Sweet! :D


Zen Cart and it's community are the best!!

8 May 2008, 8:26 PM
#5
albertsavage avatar

albertsavage

New Zenner

Join Date:
Feb 2008
Location:
Orange County, CA
Posts:
27
Plugin Contributions:
0

Re: OH this GOOGLE BASE and cron!

I have never gotten the cron job to work. It creates a file that is devoid of the _products extension.

Instead, I generate it weekly manually, and use Google's auto-upload feature described above. Would love to hear from someone who actually got the cron job to work right!

My site: Baby Emi Jewelry

8 May 2008, 9:00 PM
#6
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: OH this GOOGLE BASE and cron!

lankeeyankee:

Did you know that Google Base now has an option to upload from a file that you can specify from within the Google Base interface? This completely eliminates the whole cron problem. Just update your Google Base file within your admin panel before the automatic upload of the file. Sweet! :D

I notice this too. I've managed to create the file with cron job but it never worked to upload. This might be the solution, using the combination of the two to completely automate the process.

Live and learn... the Zen way.