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!

Trying to change cron job email

Discussion in 'General Discussion' started by cowner, Mar 29, 2016.

  1. cowner

    cowner Member

    Joined:
    Mar 26, 2016
    Messages:
    15
    Likes Received:
    1
    Trophy Points:
    1
    Location:
    Office
    cPanel Access Level:
    Root Administrator
    i was trying to change the WHM Update cron job email address and found an article for it.

    Cron Jobs - Documentation - cPanel Documentation

    It's just that I do not find (Home >> Advanced >> Cron Jobs),I do not find a place to edit or create cron jobs, I do not find anything relating cron jobs other than "Configure Cron Jobs" under Server Configuration which only controls the cron job time for upcp, backup and cpbackup.

    How exactly to change a cron job email address? (To where it sends the logs).
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Hello,

    We don't provide a full crontab editor within WHM. If you want to change the email addressed by root's crontab, then you need to do it via the command line. A quick (untested) overview:

    1. Login to your server via SSH
    2. As root run:
    crontab -e
    3. Add the following to the top of the file:
    MAILTO="your_address@here"
    4. Save and exit
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice