Learn about Centmin Mod LEMP Stack today
Become a Member

Wp-cli update email

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

  1. hardousse

    hardousse Member

    91
    25
    18
    Dec 15, 2015
    Sweden
    Ratings:
    +38
    Local Time:
    12: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

    30,569
    6,854
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,274
    Local Time:
    8:53 AM
    Nginx 1.13.x
    MariaDB 5.5
    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