Setting up Cron Jobs for Magento

Setting up Cron Jobs for Magento

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 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 Importer Configuration Settings

      Amazon Importer Configuration Settings *Note: Amazon Affiliate Account is required in order to import all images and other data on amazon associated with the products else only a single base image and the data which we get on API would be imported.* ...
    • Amazon Importer Configuration

      Amazon Importer Configuration Upon clicking the Configuration button, the seller gets navigated to the page with the section shown in the figure below: Now click on the tab Amazon Settings and it gets expanded as shown below: In the Enabled section, ...
    • Overview

      Overview To help the merchants who already have their products on Amazon, import the products on their Magento store, CedCommerce comes with the Amazon Product Importer for Magento 1 solution! With this Magento Product Import Extension, now the ...
    • Imported Products

      Imported Products Done with the importing of your Amazon products to your Magento Admin Panel and then to your Magento front-end store, you can manage your products further in the section called Amazon Imported Product. For doing so, you need to do ...