Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Provide Cron Instructions for Magento Installation
 
Ross
Guru
 
Avatar
Total Posts:  336
Joined:  2007-08-31
Scarborough, North Yorkshire, UK
 

It seems that the cron.php script is intended to be scheduled for a number of important functions to work:
- sending newsletters
- maintaining catalog price rules
- generating site maps
- ???

However setting it up is not documented anywhere.

This is important information that should be included in the installation instructions.

Moshe suggested adding this to crontab (mentioned here):

*/* * * * /absolute/path/to/php5/php -/absolute/path/to/magento/cron.php

It might also be worth mentioning that the memory limit for CLI PHP might need to be increased (as the .htaccess memory limit will not apply to the CLI).

Some questions:
- Does it really need to run every 5 minutes?
- Will it work properly if called through the web (http://www.example.com/cron.php), and what about file permissions?

Cheers,
Ross.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Unirgy
Guru
 
Avatar
Total Posts:  478
Joined:  2007-09-07
 

look what i’ve found smilehttp://www.magentocommerce.com/wiki/how_to_setup_a_cron_job

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ross
Guru
 
Avatar
Total Posts:  336
Joined:  2007-08-31
Scarborough, North Yorkshire, UK
 
Saharian - 03 July 2008 12:04 PM

look what i’ve found smilehttp://www.magentocommerce.com/wiki/how_to_setup_a_cron_job

Great to see a wiki article, thanks for the link.  There must be something wrong with search because it didn’t come up when I was searching for info (still doesn’t) - perhaps because it’s quite new.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top