Hi,
I have been having some issues with my hosting CPU Usage and after a lot of troubleshooting from me and the hosting company, they suggested that I will re-configure the cron jobs schedule.
I have 2 questions:
Hi @robertbits
Kindly refer below link :
https://devdocs.magento.com/cloud/configure/setup-cron-jobs.html
It may help you!
Problem Solved? Please click on 'Kudos' & Accept as Solution!
First of all thanks for your reply. But I still didn't understand exactly what each command does and what is the ideal timing of each of the cron job command should be.
I appreciate it if someone can give me an example
Hello,
I have solved the Configuring cron job problem:
Code to be implemented for cron job setup
Checkout this codes:
/usr/bin/php -c /[full path of magento root]/bin/magento cron::run >/dev/null 2>&1
/usr/bin/php -c /[full path of magento root]/update/cron.php >/dev/null 2>&1
/usr/bin/php -c /[full path of magento root]/bin/magento setup:cron:run >/dev/null 2>&1
we have set the cron job to run every 5 minutes.
For detailed solution visit: https://magecomp.com/blog/set-up-cron-jobs-in-magento-2/
Hope this helps,
Thank-You