Magento sales emails cron job setup

Troubles with magento sales emails?

If you are having troubles with Magento sales emails not being sent to your customers, you just need to set/check up on CRON job on your server to see if it is working properly.Starting with Magento 1.9.1 the emails are not being sent directly during checkout but instead are being queued. The queue is being processed via your Magento cronjob.

In this article I will describe how to setup cron jobs in CPanel and via SSH. Setup is very similiar and if you have any other access it would be very likely to this two.

Setup cron job via SSH

Before setting up a new cronjob, please make sure the Magento cronjob (a cron running cron.php) hasn’t been set up yet. Use the following command to get the currently installed cronjobs:

crontab -l

If the cronjob hasn’t been set up yet, you will need to open the crontab file to set up the cronjob. The crontab manages which and when cronjobs are run on the server.

crontab -e

Enter the following line and replace PATH_TO_MAGENTO_INST with real path to directory of your Magento installation and PATH_TO_PHP with path to your php installation:
*/5 * * * * PATH_TO_PHP -f /PATH_TO_MAGENTO_INST/cron.php &> /dev/null

You can find PHP installation path with command <code>which php</code>.

Save file and you will get message crontab: installing new crontab. And then check once again with crontab -l.

 

Setup cron job via CPanel

Find Cron Jobs settings in your panel (Advanced -> Cron jobs) and first check that it has not been set up yet. Now add new cronjob with following parameters and click on button to finish

magento sales email cronjob setup in cpanel

 

Now when you setup cron job either cpanel or SSH way, you just have to wait for emails 🙂

If you have installed cronjob, but still have problems with cron or not sure if cron is running, try to install a free extension AOE Scheduler. This extension can show you the status of cron and cron tasks including a timeline view. And dont forget that Magento recommends running cron every minute for EE and every five minutes for CE.

Shopware 5 open source e-commerce software

Overview

Shopware 5 is a powerful and flexible application that can be used to build eCommerce experiences. It is an open source eCommerce software developed completely on location in Germany and based on bleeding edge technologies like Symfony 2, Doctrine 2 & Zend Framework. It provides an event-driven plugin system and an advanced hook system, giving you the ability to customize every part of the platform.Shopware is trusted by over 54,000 international online shops—ranging from small business and scaling up to the demands of enterprise.

Shopware Licences

There are four versions: Community, Professional, Professional Plus and Enterprise.

shopware licences

  • Community Edition is the free, open source version and licensed under AGPL. Without compromising quality, the Community Edition makes it possible for tech-savvy online merchants to realize projects with a smaller budget. Upgrades are possible at any time—so Shopware can grow alongside your business.
  • Professional Edition is the ultimate solution for successful online commerce. Feature-rich and protected by manufacturer support, the Professional Edition is perfect for customers looking to grow their business from the bottom up. The platform is modular, expandable and customizable, making it ideal for small to medium-sized businesses.
  • Professional Plus comes as the true all-inclusive package for successful online trading. To encourage the possibilities of your online shop even further, this edition includes every Premium Plugin developed by Shopware as well as support directly from us, the manufacturer.
  • Enterprise is the ideal solution for ambitious eCommerce projects. This is where consultancy, service and performance meet under one platform; powered by the visionary features that make Shopware one of the fastest growing solutions on the market. Here you’ll find everything you need for successful online business.

Shopware Extensions

The Community Store is the one and only marketplace for every Shopware module, interface and extra feature. You can buy them, rent them and many of them are completely free. The plugins help you make your shop even more attractive and to attract many more customers. Also you can easily offer your products to thousands of Shopware merchants

System requirements

  • Linux-based operating system with Apache 2.x web server
  • PHP 5.4 or higher (PHP 5.5 is strongly recommended and PHP 5.6.0 – 5.6.3 are not compatible caused by a session bug)
  • MySQL 5.5 or higher
  • Possibility to set up cron jobs
  • Minimum 4 GB available hard disk space

Installation

Shopware installation is easy and there are two ways to do it.