cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to have Magento 2 without cron?

Possible to have Magento 2 without cron?

At bluehost.com, for the cheaper hosting options, I have ssh access but no cron access (something about shared hosting?).  Magento 1.9 has been working okay without cron for years but I want to upgrade to Magento 2.X.

 

Is it possible to run a Magento 2.X store (very small store - 5 sales per week) without cron?  Is there an option to run the "cron" tasks when people connect to the store?  That's what wordpress does.  By default it runs the cron tasks on every web connection but you can disable that and put the task into cron. It's an option.  Does Magento 2 have this option?  Where is it?

2 REPLIES 2

Re: Possible to have Magento 2 without cron?

bump?

Re: Possible to have Magento 2 without cron?

According to https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-cron.html

 

"Several Magento features require at least one cron job, which schedules activities to occur in the future. A partial list of these activities follows"

 

That includes basics like sending transactional emails (Order Confirmations, Shipping Confirmations, etc.).

 

When it comes to shared hosting, I'd also caution that Magento 2 is considered a more resource-intensive than Magento 1, and more reliant on caching solutions. Additionally, new versions of M2 use Elasticsearch rather than native search, which you may not be able to install in your shared hosting environment either. 

 

Magento 2, especially the latest versions, has not been specifically built with shared hosting in mind. It's not intended to compete with WordPress/WooCommerce. It's definitely a more mid-market product than a small business tool at this point. 

 

Don't get me wrong, I'm a huge proponent of Magento, but from what you've shared, it definitely sounds like your needs and goals put you outside of the average user. You may want to stick with M2 because you love Magento, but you may need a more robust hosting environment.

 

On the flip side, if you want to stick with Magento 1, you should be sure to get patches from Mage-One or Openmage helping to elongate the life of your existing store. That plus other basics that a good Magento host will include, like a well-configured web application firewall (WAF), malware scanner, and intrusion detection system will help keep you safe and ideally PCI compliant for a long time to come.

 

Best of luck!