Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Get upcp cron update emails only on erro

Discussion in 'General Discussion' started by jazee, Mar 6, 2017.

  1. jazee

    jazee Well-Known Member

    Joined:
    Jan 12, 2015
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I'm sick and tired of getting the upcp update cron emails every day. A major frustration is is when I do keyword searches in my Outlook, I always get these emails as matching as there is SO much text in them. (Yes, one solution would be to create an Outlook rule to permanently delete these email from the trash.)

    The REAL issue though is, the purpose of these emails, in my estimation, is to alert you of any issues in the update process. However this requires you to go through and read the entire huge message! And 99% of the time, there's no issues, so it's a waste of time!

    The Cpanel people are pretty smart. They've made a great product. Is it not possible for them to email ONLY when there are errors in the update?

    In the meantime, aside from adding >/dev/null 2>&1 to the command in the crontab to stop emails all together (which then you would not see any errors), has anyone come up with a better solution or are you all living with receiving these emails every day... I mean come one.. what percentage of sys admins are actually going through the email every day line by line?

    I was thinking maybe wrapping it with chronic? But I'm wondering if chronic wouldn't really work here because the command in the crontab to run the update upcp doesn't appear to be a bash script.

    Cronic - A cure for Cron's chronic email problem
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's not possible to configure the cPanel update notification emails to only deliver in the event of an error or failure, however I encourage you to open a feature request if this is a feature you'd like to see included with the product:

    Submit A Feature Request

    Another workaround to consider in the meantime is to setup an email filter that only delivers the message if the message body contains the words "FATAL" or "Error".

    Thanks!
     
Loading...

Share This Page