Menu Content

Currencies Accepted

Shopping Cart

Your Cart is currently empty.

How to Download A Product

For most of our products, including the free ones, you will need to go through checkout and place an order.

Read More


Find Us Elsewhere

Follow us on Twitter

Spiral Scripts on Facebook

rapidssl_ssl_certificate is a worldwide leader in payment services

Google ads

Home » Forum

Welcome, Guest
  • Page:
  • 1

TOPIC: Googlebasexml cronjob

Googlebasexml cronjob 5 months, 1 week ago #373


What's the cronjob syntax for running, for e.g.:;product_country=US



Re: Googlebasexml cronjob 5 months, 1 week ago #374

I think you would need to replace the part with the actual physical path to the site on your server eg


what exactly this is will depend on your server. Because it is a php script you will normally need to precede the command with the path to php,

/usr/bin/php /home/websites/

again this will depend on your server, you may need to check with your web hosts
Last Edit: 5 months, 1 week ago by Susan Boggler.

Re: Googlebasexml cronjob 5 months, 1 week ago #375

Instead of using index2.php you might find that


works better. You may need to make the index.php file executable as well.

Re: Googlebasexml cronjob 5 months, 1 week ago #376


Isn't an input required and to be specified?

Re: Googlebasexml cronjob 5 months, 1 week ago #377

I'm sorry I don't understand the question.

Re: Googlebasexml cronjob 5 months, 1 week ago #378

My cron command is:

php "/home/footyfan/public_html/index.php?option=com_googlebasexml&format=xml&product_currency=USD&product_country=US"

When run it returns:

Status: 404 Not Found
X-Powered-By: PHP/5.2.17
Content-type: text/html

No input file specified.

Re: Googlebasexml cronjob 5 months, 1 week ago #379

As I said, normally you need to include the complete path to PHP, just using the PHP command is not enough.

Susan Boggler wrote:

/usr/bin/php /home/websites/

I do urge you to contact the web host support on this, they will probably be able to tell you more.

I have to add that I am not an expert in running cron jobs, it is something I have set up on occasion, but not with this, so I cannot be sure that what you are attempting will work at all.

I do question why you are trying to do this, as I don't see the reason to run it as a cron job. You can submit the feed directly to Google. If that isn't enough for you, for example if you want to submit the text file that the component outputs, and have it updated regularly, all you need is something that will regularly ping the web address of the feed.

Re: Googlebasexml cronjob 3 months, 2 weeks ago #398


Sorry for late reply. I sorted this by getting Google to take the feed, as you suggested.

Another question, if I run a feed in a browser it produces the file in a few minutes but the feed never appears in the browser. It used to.

Any clues?



Re: Googlebasexml cronjob 3 months, 2 weeks ago #399

Yes, I think that getting Google to take the feed is best in general.

I will try to take a look at running the extension as a cron job when I have a chance - as I said I am not really an expert on that. But I can see that there might be reasons why it could be useful.

If you run the feed in a browser what you see depends on the browser, how it chooses to display xml. If you want to see the XML that is being generated you should be able to right-click on it and select 'view page source' to do that - if you are using Firefox. Other browsers have similar ways of letting you see the source.
Last Edit: 3 months, 2 weeks ago by Susan Boggler.
  • Page:
  • 1
Time to create page: 1.07 seconds

VirtueMart Featured Products Grid

Switch View

Buy both our Flash slideshow products for Virtuemart and save £5.


A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children.


A module extension for the the Joomla CMS. It plays a random list of mp3s using the Flash media player.

This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.