Setting up Cron Jobs for Magento

Setting up Cron Jobs for Magento

search_box

Setting up Cron Jobs for Magento 

After installing the extension for Magento 1, you need to set up the Cron Settings for Magento in case it is not there, so that it enables the set of actions to take place after a particular time interval.

Various Magento features need at least one Cron job to schedule the activities in the future. Some of those activities are:

  • Catalog Price Rules
  • Newsletters
  • Generating Google sitemaps
  • Customer Alerts/Notifications (product price change, product back in stock)
  • Reindexing
  • Private sales (Magento Commerce only)
  • Automatic updating of currency rates
  • All Magento e-mails (including order confirmation and transactional)

How to do that?

To create a cron job as the user who runs Apache, the following commands in the order shown:

  1. Create or edit a crontab for the Apache user:
    crontab -u apache-user-name -e
  2. A text editor displays. (You might need to choose a text editor first.)
    In the editor, enter the following:
    * * * * * /bin/sh /[your Magento install dir]/cron.sh

    For example, for CentOS,

    * * * * *  /bin/sh /var/www/html/magento/cron.sh
  3. Save your changes to the crontab and exit the editor.

To know more about it in detail, click here and go through the complete guide to set up Cron Jobs for Magento 1.

    • Related Articles

    • Amazon Affiliate Configuration Settings

      Amazon Affiliate Configuration Settings After you’ve recieved the Amazon Affiliate API credentials, you can use them while setting up the configurations through the Admin panel. To set up the Amazon Affiliate Configuration Go to the Admin panel. On ...
    • Get Amazon Product Affiliate API Key, Tag Key and Secret Key

      Get Amazon Product Affiliate API Key, Tag Key and Secret Key Once the Amazon Affiliate Program for Magento 1 extension is successfully installed on the Merchant’s store, the Amazonaffiliate tab appears on the top navigation bar of the Magento Admin ...
    • Amazon Affiliate Product Synchronization

      Amazon Affiliate Product Synchronization This section covers the process of Amazon Affiliate Product Synchronization. To synchronize Amazon Affiliate products Go to the Admin panel. On the top navigation bar, click the Amazonaffiliate menu. The menu ...
    • Search and Import Products through Amazon Node Id

      Search and Import Products through Amazon Node Id For importing products via Amazon Node id, the admin can follow any of the following tasks: Search the products based on the defined criteria and then import the selected products Import all the ...
    • Search and Import Products from Amazon

      Search and Import Products from Amazon This extension allows the admin to search and import the products through the four different criteria as follows: Search/Import via Keywords Import via Amazon ASIN Import via Node id Import via Amazonaffiliate ...