Discover Centmin Mod today
Register Now

Wp-cli update email

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

  1. hardousse

    hardousse Active Member

    123
    30
    28
    Dec 15, 2015
    Sweden
    Ratings:
    +45
    Local Time:
    3:53 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

    35,064
    7,741
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,937
    Local Time:
    10:53 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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
    
     
..