To add the Cron job, the first step is to log into your cPanel account and click on the Cron Jobs menu item in the Advanced section.
You will now get to the screen where you can configure the cron jobs for your account. If you would like to receive an email report after each cron is run, enter your email address and click on Update Email. Then, under Add New Cron Job, you need to enter the following:
- Select how often the cron should run (every 5-10 minutes is recommended);
- Enter the command to run. In case of Magento, this will usually be:
/usr/local/bin/php -f /home/username/public_html/cron.php
This assumes Magento is installed in the root folder of your account (public_html). Make sure to put in your username.
- Click the Add New Cron Job button.
- You should now see a new entry in the Current Cron Jobs table below.
Posted in: Magento