cancel
Showing results for 
Search instead for 
Did you mean: 

error message emails Magento CE 2.4

error message emails Magento CE 2.4

Hello,
I recently noticed that there are over 8000 emails with exactly the same message:

 

There are no commands defined in the "setup:cron" namespace.

Did you mean one of these?
setup
setup:config
setup:db
setup:db-data
setup:db-declaration
setup:db-schema
setup:di
setupSmiley Tongueerformance

setup:static-content

setup:store-config

 

I asked my service provider support and they replied that
apparently this cron job is causing the issue:

 

3,16,38,54 * * * * /opt/cpanel/ea-php74/root/usr/bin/php -d memory_limit=512M /home/store24slovenly/public_html/bin/magento setup:cron:run >> /home/store24slovenly/public_html/var/log/setup.cron.log


I didn't actually set that cron job up myself and am not really familiar.

Any assistance in addressing this error will be much appreciated.

 

regards, Peter

1 REPLY 1

Re: error message emails Magento CE 2.4

Hello,

 

You need to remove cron to stop emails related to errors. For more help, please do check https://github.com/magento/magento2/issues/29872.

 

Thank you.

Problem solved? Click Kudos and "Accept as Solution"