Magento Forum

Page 1 of 2
The cron is not working with Google Sitemap, Currency Rates upgrade automatically. 
 
e-mimic.com
Jr. Member
 
Avatar
Total Posts:  13
Joined:  2008-10-23
China
 

I enabled Google Sitemap and Currency Rates schedule, I want they to update automatically, I installed the cron successfully, the job_code of database table cron_schedule only has “newsletter_send_all”, “catalogindex_run_queued” and “every_10_minutes”, I want to update Google sitemap and currency rates automatically, how do I do?

Image Attachments
cron_s.gif
 
Magento Community Magento Community
Magento Community
Magento Community
 
nickweisser
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2007-09-03
Zurich, Switzerland
 

I’m also trying to figure out how to update Google Sitemap by cron, but so far I was only able to update it manually by calling this URL

http://www.mystore.com/index.php/admin/sitemap/generate/sitemap_id/

where sitemap_id is the ID number of the sitemap that was created under Admin -> Catalog -> Google Sitemap.

My cron job looks like this:

@daily cd /home/mydomain.com/htdocsphp cron.php
but this does not work although I’m sure the cron.php script is called correctly.

Have you figured this out on your end in the meantime?

Image Attachments
2008-11-04_0921.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
e-mimic.com
Jr. Member
 
Avatar
Total Posts:  13
Joined:  2008-10-23
China
 

Yes, I am updating the sitemap manually too :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sebastian G
Guru
 
Total Posts:  336
Joined:  2007-09-15
 

Are you running 1.1.6?

 
Magento Community Magento Community
Magento Community
Magento Community
 
nickweisser
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2007-09-03
Zurich, Switzerland
 

I’m currently on 1.1.5 and also found out in the meantime that by upgrading to 1.1.6 this should be solved.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sebastian G
Guru
 
Total Posts:  336
Joined:  2007-09-15
 

Exactely smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Business Feet
Sr. Member
 
Total Posts:  82
Joined:  2008-05-24
 

I have same issues, i am on 1.1.6 but when cron runs i get fatal error as described here http://www.magentocommerce.com/boards/viewthread/21917/

 
Magento Community Magento Community
Magento Community
Magento Community
 
nickweisser
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2007-09-03
Zurich, Switzerland
 

I just upgraded to v1.1.6 and it is now working correctly.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Oeno
Jr. Member
 
Total Posts:  10
Joined:  2008-03-02
 

I’m on 1.1.8…

Here’s my “cron_schedule” from my database…

How can I get my sitemap generation to be automatic?

Image Attachments
Picture 2.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
Pete Carnac
Jr. Member
 
Total Posts:  1
Joined:  2009-07-22
 

I’m getting this issue in Magento 1.3.2.3. Cron is working fine for the newsletter, but Google sitemap and the currency rates are not being updated - I have to do these manually.

Anyone else having this problem…?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Olof
Sr. Member
 
Total Posts:  152
Joined:  2008-10-17
 

I have the identical issue Magento ver. 1.3.2.4, and all I see in my cron schedule table is “newsletter_send_all” and “catalogindex_run_queued”?

Anyone worked out what is causing this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
OrinocoDelta
Member
 
Avatar
Total Posts:  55
Joined:  2009-01-29
Bali, Indonesien
 

Same Problem here; thats NOT NORMAL.... always Sitemap Sitemap Sitemap!!!!! Grrrrrrrrrrrrr
Why this is not working and how we can fix it???

Any help, Any Ideas????
I reported just in this Second a Bug Report!

wink we will see no what’s happend!

 
Magento Community Magento Community
Magento Community
Magento Community
 
The Internets
Jr. Member
 
Total Posts:  9
Joined:  2009-03-27
 

See this thread: http://www.magentocommerce.com/wiki/how_to/how_to_setup_a_cron_job

 
Magento Community Magento Community
Magento Community
Magento Community
 
OrinocoDelta
Member
 
Avatar
Total Posts:  55
Joined:  2009-01-29
Bali, Indonesien
 
The Internets - 21 October 2009 05:47 AM

See this thread: http://www.magentocommerce.com/wiki/how_to/how_to_setup_a_cron_job

Thats not the trick, do you think we don’t read this… Everything is working, only the Sitemap is not uodated automatically…

 
Magento Community Magento Community
Magento Community
Magento Community
 
The Internets
Jr. Member
 
Total Posts:  9
Joined:  2009-03-27
 
OrinocoDelta - 21 October 2009 05:54 AM

The Internets - 21 October 2009 05:47 AM
See this thread: http://www.magentocommerce.com/wiki/how_to/how_to_setup_a_cron_job

Thats not the trick, do you think we don’t read this… Everything is working, only the Sitemap is not uodated automatically...

No, I can’t foretell what you have or have not read already. 

It seems that people’s server side cron is not executing properly. Setting up the schedule in magento is only half of the process.  On your servert, set up the cron job so that it runs every five minutes of every hour.  Modify your sitemap generation time to ten minutes from now in mangento and see if it works.  Try to get confirmation emails from your host every time you cron runs to make sure it is executing properly.

If you’re using a hosted environmnet w/cpanel it should look something like this:

/ramdisk/bin/php5 /maindir/youraccounthere/www/cron.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
Olof
Sr. Member
 
Total Posts:  152
Joined:  2008-10-17
 

When I go to Crop.php it dosent work, but when I run the sitemap gen from the admin gui it works..... :(

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2