cancel
Showing results for 
Search instead for 
Did you mean: 

magento 2 cron runs took more space in Database

magento 2 cron runs took more space in Database

Hello All, Our Magento 2 site running cron took much more space in database. Due to this cron, much more time and space needed for that. Can you please suggest if any steps to fix these problems or can I remove the default cron in magento 2 site. this is correct way ? please guide me for the needful. * * * * * /usr/bin/php /var/www/html/magento2/bin/magento cron:run | grep -v Ran jobs by schedule >> /var/www/html/magento2/var/log/magento.cron.log * * * * * /usr/bin/php /var/www/html/magento2/update/cron.php >> /var/www/html/magento2/var/log/update.cron.log * * * * * /usr/bin/php /var/www/html/magento2/bin/magento setup:cron:run >> /var/www/html/magento2/var/log/setup.cron.log Thanks & Regards, Prakash
5 REPLIES 5

Re: magento 2 cron runs took more space in Database

Hi @My_Pages22,

 

Which version of Magento are you using?

Maybe is related with this bug https://github.com/magento/magento2/issues/11002 ?

Re: magento 2 cron runs took more space in Database

Hi,

 

My magento verison 2.2.1

 

Thanks & Regards,

Prakash

Re: magento 2 cron runs took more space in Database

Hi @My_Pages22,

 

I guess that if I were you I will try with an upgrade to the latest version of 2.2.x.

Not only because this issue but the other secutiry upgrades.

And then you should try again to see if the problems still happens.

 

Cheers!

Re: magento 2 cron runs took more space in Database

Hi,

 

we have lot of custom changes in our site.We can't upgrade our site.

Kindly give me any other solution.

 

Thanks & Regards,

Prakash

Re: magento 2 cron runs took more space in Database

Hi @My_Pages22,

 

If you follow the issue I've shared before, you'll find a lot of comments and also a possible solution to an open source improvment: https://github.com/magemojo/m2-ce-cron

I didn't tried yet so I can't recommend, but I understand could help.

 

BUT, you SHOULD upgrade to the latest version of 2.2.x becasue the security updates and improvments.

I understand what you mean with the customizations, but security never should be after customizations in your priority list.