Get the most out of your Centmin Mod LEMP stack
Become a Member

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:
    8:16 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

    33,648
    7,448
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,449
    Local Time:
    3:16 PM
    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
    
     
..