Learn about Centmin Mod LEMP Stack today
Register Now

Wp-cli update email

Discussion in 'Blogs & CMS usage' started by hardousse, Oct 6, 2017.

  1. hardousse

    hardousse Active Member

    169
    35
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +57
    Local Time:
    2:23 AM
    1.11.*
    10.1*
    hi
    How I can disable the email about wp-cli update,I try disable it from crontab but Not working.
    Thank you

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:23 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Recommended not to disable it as it's useful notice email to have. You can setup an email filter to manage it or change the email it's sent to do a different email address. But if you need to disable it, you can tag on end of cronjob
    Code (Text):
    >/dev/null 2>&1
    

    so
    Code (Text):
    15 */8 * * * /path/to/script >/dev/null 2>&1