- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2016
08:46 AM
01-02-2016
08:46 AM
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
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2016
10:29 AM
01-02-2016
10:29 AM
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
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2016
10:29 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2016
10:37 AM
01-02-2016
10:37 AM
Re: cron email spamming
great!
done.
thanks!