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.

Cron <root@server> /usr/local/cpanel/scripts/upcp --cron

Discussion in 'General Discussion' started by largestudio, Aug 4, 2016.

Tags:
  1. largestudio

    largestudio Member

    Joined:
    Dec 24, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi dear,
    i wanted disable (( Cron Daemon<root@server.xxx.com> )) in server ...
    i recive 1 email in 24H Cron Daemon
    i want disable this message in server ...
    can you help me ?
    regards,

    simple message:

    Code:
    [2016-08-04 21:54:01 +0430]   Detected cron=1 (cron mode set from command line)
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (14164) at Thu Aug  4 21:54:01 2016
    [2016-08-04 21:54:01 +0430]   Detected cron=1 (cron mode set from command line)
    [2016-08-04 21:54:01 +0430]   1% complete
    [2016-08-04 21:54:01 +0430]   Running Standardized hooks
    [2016-08-04 21:54:01 +0430]   2% complete
    [2016-08-04 21:54:01 +0430]   mtime on upcp is 1470159324 (Tue Aug  2 22:05:24 2016)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (14168) at Thu Aug  4 21:54:02 2016
    [2016-08-04 21:54:02 +0430]   Detected version '11.58.0.12' from version file.
    [2016-08-04 21:54:02 +0430]   Running version '11.58.0.12' of updatenow.
    [2016-08-04 21:54:07 +0430]   Retrieved public key from vendor: cpanel, category: development, url:https://securedownloads.cpanel.net/cPanelDevelopmentKey.asc
    [2016-08-04
    
    21:54:07 +0430]   Retrieved public key from vendor: cpanel, category: release, url:https://securedownloads.cpanel.net/cPanelPublicKey.asc
    [2016-08-04
    
    21:54:07 +0430]   Using mirror '103.194.168.198' for host 'httpupdate.cpanel.net
    
    '.
    [2016-08-04 21:54:08 +0430]   Successfully verified signature for cpanel (key types: release).
    [2016-08-04 21:54:08 +0430]   Target version set to '11.58.0.12'
    [2016-08-04 21:54:08 +0430]   Up to date (11.58.0.12)
    => Log closed Thu Aug  4 21:54:08 2016
    [2016-08-04 21:54:08 +0430]   17% complete
    => Log closed Thu Aug  4 21:54:08 2016
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/maintenance (14181) at Thu Aug  4 21:54:08 2016
    [2016-08-04 21:54:08 +0430]   21% complete
    [2016-08-04 21:54:08 +0430]   Purging cpupdate.conf of invalid entries
    
    
     
    #1 largestudio, Aug 4, 2016
    Last edited by a moderator: Aug 4, 2016
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    123
    Likes Received:
    36
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Updates are controlled by Home » Server Configuration » Update Preferences

    You would need to set :

    Daily Updates
    Operating System Package Updates
    Apache SpamAssassin™ Rules Updates

    to 'Never update' - or remove the cron job for upcp.

    I cannot emphasis enough what a terrible idea it is to disable updates. This will quickly leave your WHM/cPanel and it's underlying OS open to bugs and exploit vectors.

    A much better idea is to leave the updates running and send the output of upcp to
    Code:
    >/dev/null 2>&1
    although this would give you little chance of debugging a failed update or upgrade.

    The best idea is to filter this email into a separate folder on receipt so you have it available but don't have it cluttering up your inbox :-D
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    This is answered on the following thread:

    How to stop upcp cron emails?

    Remember the email notification will also alert you of an update failure, so you may want to reconsider disabling the email notification.

    Thanks!
     
    largestudio likes this.
Loading...

Share This Page