Categories: How To

How to setup a Cron Job in cPanel for Magento

Here is the post to how to set up the cron jobs for your Magento store. There are several reasons for which you may need to set up the cron and one from them is, it needs to be set up to send the emails from the Magento specially in Magento 1.9.

Few more reasons to set the cron are here:

  1. Cleaning and Adding Catalog Price Rules.
  2. Automated Generation of Sitemaps.
  3. Mailing of Customer Alert Notifications.
  4. Automated Sending of Newsletters and Emails.
  5. Downloading of and update of Currency Exchange Rates.
  6. Automated Log and Database log cleanups.

Here are the simple steps to configure cron for your magento store

  1. Go to cpanel login
  2. Look for Cron section
  3. If you know the path of the cron file in the filemanager, enter the command like below. You can set cron for minutes, hourly, daily, monthly or for weekdays.
  4. If you don’t know the file path then use this command and configuration. As said you can schedule the cron as you want, I have configured here to run the cron every 5 minutes.

Setting up cron jobs in Magento 2 is as easy as above.
If you still face any problem or need any help, do contact us anytime, we will be happy to help you.

 

Click to rate this post!
[Total: 17 Average: 3.4]
Dhiren Vasoya

Dhiren Vasoya is a Director and Co-founder at MageComp, Passionate 🎖️ Certified Magento Developer👨‍💻. He has more than 9 years of experience in Magento Development and completed 850+ projects to solve the most important E-commerce challenges. He is fond❤️ of coding and if he is not busy developing then you can find him at the cricket ground, hitting boundaries.🏏

View Comments

Recent Posts

What are Net Sales? How to Calculate Your Net Sales?

In the world of business, understanding financial metrics is crucial for making informed decisions and…

2 days ago

Magento 2 Extensions Digest April 2024 (New Release & Updates)

Welcome to the MageComp Monthly Digest, where we bring you the latest updates, releases, and…

2 days ago

The ABCs of Geofencing: Definition, Features and Uses

In this era, businesses are always on the lookout for ways to engage with their…

3 days ago

How to Delete Product Variant in a Shopify Remix App using GraphQL Mutations?

Managing a Shopify store efficiently involves keeping your product catalog organized. This includes removing outdated…

3 days ago

6 Innovative Tools Revolutionizing E-Commerce Operations

E-commerce has transformed the way consumers shop for products and services and interact with businesses.…

6 days ago

How Upcoming Cookie Changes Will Affect Your E-commerce Website?

The e-commerce world is constantly in flux. New tech and strategies emerge daily to help…

6 days ago