After you’ve installed Magento 2, you will need to configure Magento 2 cron jobs.
On Servebolt your cron jobs are managed through the Servebolt Control Panel. This means that you cannot expect documentation you find online and built-in features in Magento to manage cron to work.
How to set up Magento 2 cron on Servebolt
Magento depends on just three cron jobs, that are fast and easy to set up: The output from the cron jobs will automatically be logged to logs/cronlog in your Bolts home directory.
*/5 * * * * flock -n .m2cron.lock magerun2 cron:run | grep -v "Ran jobs by schedule" 9 3 * * * php public/update/cron.php 45 2 * * * magerun2 setup:cron:run | grep -v "Please check"
Example of how this looks in the Servebolt Control Panel for your Bolt:
Any errors will automatically be sent to the technical contact of the Bolt.
Note: after you’ve entered your Magento 2 dashboard you might still see some notices indicating you need to check your Magento cron. This simply means the cron jobs haven’t kicked in yet. Refresh the page in a couple of minutes and you will no longer see the notice.
Now that you’ve got Magento 2 running fast, secure and smooth on your Servebolt Bolt, here are some additional documentation articles you should check out:
Give us your feedback on this article
Servebolt has launched Accelerated Domains!
Accelerated Domains is a service that greatly improves and optimizes your site on these four areas: Performance, Scalability, Security and the Carbon footprint of your website.