Suppress Cron auto-update emails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • simplysup
    Junior Member
    Forum Explorer
    • Mar 2021
    • 26

    #1

    Suppress Cron auto-update emails

    Hi,

    Using kcarectl free patch on CentOS 7.8 Kcarectl binaries were updated overnight. Now I am receiving an email every 4 hours from Cron:

    /usr/bin/kcarectl -- auto-update
    "Updates are already downloaded
    No updates needed for this kernel"

    How can I suppress these emails?

    Cheers,

    NIgel
  • skhristich
    Senior Member
    • Nov 2019
    • 595

    #2
    Hello Nigel,
    Thank you for reaching out! To fix this issue, please reinstall KernelCare by using the following steps:

    Code:
    rm -f /etc/cron.d/kcare-cron
    
    yum reinstall -y kernelcare
    If you have the servers with KernelCare version older than 2.27-1, then please use there:

    Code:
    rm -f /etc/cron.d/kcare-cron
    
    yum update -y kernelcare
    It should fix the issue. Let me know if you have any questions. Hope to hear from you soon.

    Comment

    • simplysup
      Junior Member
      Forum Explorer
      • Mar 2021
      • 26

      #3
      Hi Sergey,

      The re-install seems to have cured the issue, thanks.

      Nigel

      Comment

      • skhristich
        Senior Member
        • Nov 2019
        • 595

        #4
        Hello Nigel,
        Thanks for the feedback, nice to hear that.
        Please let us know if you have any questions.

        Comment

        Working...
        X