magemojo / m2-ce-cron

Magento 2 cron project to fix bugs and common cron issues.
https://magemojo.com
MIT License
165 stars 45 forks source link

Healthchecking Cron Service and empty cron.log file #104

Closed RaFr closed 4 years ago

RaFr commented 4 years ago

Hello,

Thank you for the plugin. Does the plugin stop Magento logging in the file cron.log or other files? Since I installed it, cron.log became always empty, and I started having a lot of "Healthchecking Cron Service" (almost one every minute) entries in the file magento.cron.log.

what does "Healthchecking Cron Service" exactly mean? at the beginning I thought it was like a flag to show that the plugin/cron is working, but then I found "Starting Service" at the same time as "Healthchecking Cron Service" and some entries from another plugin just after that, like if the cron just started at that moment.

Do you have a rule that helps setting a value for the "Maximum Cron Processes"? for 8 cpu cores for example. On the readme page you say "This option is the sum of all defined jobs." which is confusing. should it be the sum of all the cron jobs listed on the cron report page? or a number lower than the cpu cores to avoid overloading the server?

Could the setting "History Retention" take a value less than 1 (day) or it is better to have it set to at least 1 day to monitor the crons? before installing the plugin I had between 1k and 1.5k records in the cron_schedule table, but now i have more than 40k records

your help would be much appreciated. regards