Set Up Scheduled Tasks in Magento - Tuts+ Code Tutorial
Cron is an important utility which allows you to execute scripts at certain regular intervals. It has become an important aspect for web-based applications as well. There are lots of ways in which cron is useful to websites, from sending regular newsletter mails to synchronizing the database with third-party systems. You can also use cron to clean up the back-end storage to improve the overall performance of an application. Magento supports cron in the core itself, as it does with several other utilities! It allows you to set up scheduled tasks in the module, so that they can run at regular intervals. Magento runs all the cron tasks using the "cron.sh" and "cron.php" files located in the root of the site. So you'll need to make sure that you've set up the system-level cron to run the "cron.sh" file at regular intervals, which eventually triggers the Magento cron system. And finally, Magento gathers all the cron jobs located in the modules,Read full article from Set Up Scheduled Tasks in Magento - Tuts+ Code Tutorial
No comments:
Post a Comment