Fri. Apr 25th, 2025

16. Magento. Setting up cronjob using cPanel

1 min read

If you are using Magento 1.9.1.x version, you should know that emails are no longer sent directly during checkout but instead they are being queued. This is processed via your Magento cronjob, therefore, please make sure that CronJob has been set up and is running correctly.

  1. In order to set up Cron Job via Hosting Cpanel, log into your Hosting Cpanel and look for Cron Jobs icon. Usually, you will find it under the Advanced panel. Click on Cron Jobs icon:magento_setup_cron_using_cPanel-1
  2. Look for Add a New Cron Job option.In the Common Settings: drop down option, select the Once Per Five Minutes option.
  3. Insert the following code to the Command: field:wget -q -O /dev/null http://www.example.com/cron.phpmagento_setup_cron_using_cPanel-2
  4. Change the http://www.example.com to your own site URL.
  5. Note that you need to insert the path to your cron.php file located in the root of your Magento installation. Therefore, if you’ve installed Magento to the sub-directory, you need to include it in the path url as well. For example:
    http://www.example.com/folder/cron.php
  6. Make sure that you have cron.php file in your Magento root directory. You can use the filemanager via Hosting Cpanel or any FTP client, such as FileZilla:magento_setup_cron_using_cPanel-3
April 2025
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
282930