Want more timely Centmin Mod News Updates?
Become a Member

WP CLI - auto update emails

Discussion in 'Other Centmin Mod Installed software' started by joshuah, Apr 28, 2017.

  1. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    7:19 PM
    Hello,

    Is there any way to disable the email notifications each time it runs? The only time I want to be notified is when an actual update takes place.

    Thank you.

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    7:19 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Currently, there's no way to only notify if actual updates take place. You can edit your sepcific wp_updater_yourdomain.com cronjob though yourself to remove email notification altogether but i wouldn't recommend that. Better to just use your email client and setup a filter for wp update emails to properly archive them.
     
  3. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    2:19 AM
    Nginx 1.21.x
    MariaDB 10.1.x
    I use a Gmail filter to automatically apply the label "Server Notifications" and mark it as read.
    "Skip the Inbox" is helpful to keep your email from becoming cluttered.
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    7:19 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what i do as well though you can also filter on email text content too ;)
     
  5. joshuah

    joshuah Member

    121
    14
    18
    Apr 3, 2017
    Ratings:
    +17
    Local Time:
    7:19 PM
    Okay. That's what I'll end up doing.. however, is there an example of a keyword for when something goes wrong? So I can make sure that it does not skip the inbox.
     
  6. RB1

    RB1 Active Member

    292
    75
    28
    Nov 11, 2016
    California
    Ratings:
    +122
    Local Time:
    2:19 AM
    Nginx 1.21.x
    MariaDB 10.1.x
    Not sure...maybe wait for eva's response.
    From my experience, I've only ever received Wordpress WP-CLI notitications from my server. No emails regarding server crashes or other issues. Perhaps I have something setup incorrectly :p
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    7:19 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    the email notifications will be for wp plugin status and updates that are made, error messages generally won't be part of it

    But it's easy to check for keywords. Just look at your past email history of wp-cli auto updates and their email contents and pick out keywords you want to monitor for

    examples of keywords