Forums / All Other Contributions/Addons / Google Froogle Cron question

Google Froogle Cron question

Locked

Started by paradigm81 on 29 Sep 2006, 6:34 PM · Views: 5,347

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
29 Sep 2006, 6:34 PM
#1
paradigm81 avatar

paradigm81

New Zenner

Join Date:
Aug 2006
Location:
Texas/USA
Posts:
35
Plugin Contributions:
0

Google Froogle Cron question

I believe I have the auto-update feature installed:

****Tips: To have this update and automatically upload product feed to Google Froogle Merchants, you will need to set up a Cron job via your host's control panel.
To run it as a cron job (at 5:0am like you wanted), put something in your crontab like the following:

0 5 * * * GET http://www.paradigmrockshirts.com/googlefroogle.php?feed=yes&upload=yes
or
0 5 * * * wget http://www.paradigmrockshirts.com/googlefroogle.php?feed=yes&upload=yes****

I thing something is wrong because, I get two emails each day with the following:
/bin/sh: line 1: /usr/bin/GET: Permission denied
/bin/sh: line 1: /usr/bin/wget: Permission denied
Anyone with information of how I can resolve this would be greatly appreciated. I have little information on this MOD but it was ONE of the reasons that I had selected Zencart...

:unsure:

13 Oct 2006, 7:54 PM
#2
paradigm81 avatar

paradigm81

New Zenner

Join Date:
Aug 2006
Location:
Texas/USA
Posts:
35
Plugin Contributions:
0

Re: Google Froogle Cron question

Still no response to this post.... Anyone have the same problem? :yuck:

17 Nov 2006, 6:50 PM
#3
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Google Froogle Cron question

Paradigm81:

I believe I have the auto-update feature installed:

****Tips: To have this update and automatically upload product feed to Google Froogle Merchants, you will need to set up a Cron job via your host's control panel.
To run it as a cron job (at 5:0am like you wanted), put something in your crontab like the following:

0 5 * * * GET http://www.paradigmrockshirts.com/googlefroogle.php?feed=yes&upload=yes
or
0 5 * * * wget http://www.paradigmrockshirts.com/googlefroogle.php?feed=yes&upload=yes****

I thing something is wrong because, I get two emails each day with the following:
/bin/sh: line 1: /usr/bin/GET: Permission denied
/bin/sh: line 1: /usr/bin/wget: Permission denied
Anyone with information of how I can resolve this would be greatly appreciated. I have little information on this MOD but it was ONE of the reasons that I had selected Zencart...

:unsure:

I just stumbled upon this.
did you set up your ftp account on google base and then configure it in the zen cart admin?

OldWestPokerSupplies.com – Custom Poker Chips and Other Professional Poker Supplies
Zen Cart 1.3.9.h with Google Base Feeder, Share Bookmarking Widget, Ultimate SEO URL, A Black Pure Template, Quick Updates, Sitemap XML and reCAPTCHA.

17 Nov 2006, 9:07 PM
#4
dinki avatar

dinki

Zen Follower

Join Date:
Oct 2006
Posts:
206
Plugin Contributions:
0

Re: Google Froogle Cron question

On a similar note, I'm using GoDaddy for hosting. They don't allow running executables so I have to upload my file by hand. Anyone know what's involved in setting up a cron job on a seperate *nix machine to send the file to froogle via ftp? I'm pretty sure this can be done if the froogle.txt file is local to the *nix machine if you use commandline ftp. Anyone?

Visit my Decal website: DecalDepot.net

26 Nov 2006, 12:46 AM
#5
paradigm81 avatar

paradigm81

New Zenner

Join Date:
Aug 2006
Location:
Texas/USA
Posts:
35
Plugin Contributions:
0

Re: Google Froogle Cron question

mafiasam:

I just stumbled upon this.
did you set up your ftp account on google base and then configure it in the zen cart admin?
Yes, the configurations are ok. I can do the manual creat and upload and it has no problem but the cron job is giving me permission denied. Anything else?

26 Nov 2006, 12:55 AM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Google Froogle Cron question

some hosts will lock these out

try using get and using the /actual/path/to/the/files

Zen cart PCI compliant Hosting

26 Nov 2006, 1:07 AM
#7
paradigm81 avatar

paradigm81

New Zenner

Join Date:
Aug 2006
Location:
Texas/USA
Posts:
35
Plugin Contributions:
0

Re: Google Froogle Cron question

I am using sashbox as a host. Do you know if I would need to open a ticket with them to figure out what could be wrong?

26 Nov 2006, 9:36 AM
#8
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Google Froogle Cron question

Merlinpa1969:

try using get and using the /actual/path/to/the/files
It will not work. You have told:
Merlinpa1969:

some hosts will lock these out
Paradigm81:

/bin/sh: line 1: /usr/bin/GET: Permission denied
/bin/sh: line 1: /usr/bin/wget: Permission denied
Scripts GET/wget does not run - permission denied to access shell /bin/sh.

Two variants:

  1. Use command line php.exe. It is impossible to start googlefroogle.php directly by php.exe. But it is possible to use intermediate loading "bootstrapping" script (php or perl - does not metter).
  2. Start your googlefroogle.php using a cron job GET/wget on another server.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Nov 2006, 10:35 AM
#9
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Google Froogle Cron question

  1. Try this one:
    0 5 * * * curl -s 'http://www.paradigmrockshirts.com/googlefroogle.php?feed=yes&upload=yes'

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Apr 2007, 3:28 PM
#10
paradigm81 avatar

paradigm81

New Zenner

Join Date:
Aug 2006
Location:
Texas/USA
Posts:
35
Plugin Contributions:
0

Re: Google Froogle Cron question

a_berezin:

  1. Try this one:
    0 5 * * * curl -s 'http://www.paradigmrockshirts.com/googlefroogle.php?feed=yes&upload=yes'

I went in today and added this command as a third command in addition to the "WGET" and "get". If I was supposed to just run the "curl" by itself, I can try that after a day or two passes and I check the results of the CRON. :P

3 Jun 2007, 3:32 PM
#11
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Re: Google Froogle Cron question

a_berezin:

  1. Try this one:
    0 5 * * * curl -s 'http://www.paradigmrockshirts.com/googlefroogle.php?feed=yes&upload=yes'

I tried this one as well as the others listed in this thread. Couldn't get the others to work but this one seems to work - no error messages, but also no upload to Froogle. The manual upload works fine - i.e. clicking on the 'upload' link in the admin area.

Any ideas what's wrong?

16 Jun 2010, 2:44 AM
#12
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Google Froogle Cron question

Did anyone figure out a way to run a new googlefroogle xml file via cron job in cPanel?

16 Jun 2010, 8:25 PM
#13
mydanilo avatar

mydanilo

Totally Zenned

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

Re: Google Froogle Cron question

This works for me, sending it every week.

Minute Hour Day Month Weekday
0 3 * * 6
wget https://www.yourdomain.com/googlefro...?feed=fy_uy_tp

Maybe also check the folder permissions.

Q: does the manual file creation work when done from the admin? Does the file get created with a current date? Have you successfully uploaded to google base manually?

Live and learn... the Zen way.

16 Jun 2010, 9:00 PM
#14
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: Google Froogle Cron question

Manually all work very well. the folder is 755. What else can I try in cPanel?