cancel
Showing results for 
Search instead for 
Did you mean: 

cron email spamming

SOLVED

cron email spamming

Hi everybody,

 

I have a magento 2 store with his cron which is fired every 1 minure. the cron works fine, if I call the commands by hand I get no errors or warnings,

 

The command bin/magento cron:run echoes the feedback: "Ran jobs by schedule." which I think is correct.

 

But at each call by cron an email is sent to the supposed magento administrator.

 

My provider blocked the smtp service thinking it is spam.

 

Is possible to stop mailing if there are no errors?

 

Best regards

Claudio Driussi

 

Tags (2)
2 REPLIES

Re: cron email spamming

To silence them just append the string with the following   >/dev/null

eg.

*/1 * * * * php -c /etc/php5/cli/php.ini /var/www/magento2/bin/magento cron:run >/dev/null

Re: cron email spamming

great!

done.

thanks!