Blog

Magento knowledge sharing.

Articles about Magento development, tips and tricks, Atwix office life. Also 1000 bla-bla-bla to fill this huge block. You’re just waisting your time reading this message.

Adding a cron task to Magento 2

Setting up cron jobs in Magento 2

Scheduled background processes are important in any large system. Clean ups and keeping cache and indexes up to date allow to keep your system healthy, while some processes are simply need to be stretched in time in order to avoid high system load, memory leaks or certain services overload (massive emails sending). Setting up a cron job for such processes and for the processes that should be repeated from time to time is always a good idea. In this blog post we will describe how to set a certain part of code as a cron job in Magento 2.

Comments (12) Read More

Logging system. Optimize Magento database by cleaning logs

Magento is a powerful and, at the same time, complex eCommerce system. One of the important parts of this system is a different events logging. After some time of functioning, Magento collects more and more events data and it might have the performance impact. Of course, the logs information can be cleaned manually in the database to avoid issues with performance, but this approach is not always handy. Therefore, in this article we want to review Magento logging system and built in tools for logs handling.

Comments (0) Read More

OroCRM: adding a new CRON job

As you know, the possibility to schedule and execute some operations automatically in the background – it is a very important feature almost for all web applications. It allows to configure the system to check for the new updates, to make some maintenance operations, like logs cleaning, to run the synchronization processes between different systems etc. OroCRM has a built-in CRON daemon that gathers all CRON jobs from all the installed extensions and runs them in a scheduled time. The process of adding a new CRON job is quite easy.

Comments (0) Read More

Subscribe to our blog

Interested
in Atwix?

Contact us

Migrate
to Magento 2

Start Coutdown