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!

upcp and backup scripts cron

Discussion in 'General Discussion' started by upsforum, Jul 14, 2007.

  1. upsforum

    upsforum Well-Known Member

    Jul 27, 2005
    Likes Received:
    Trophy Points:
    I have a problem, upcp and cpbackup script every day send a mail to root mail, ok, but why I don't receive this messages in a specified mail box? and in others mail box it works?

    second question: don't receive the logwatch mail every day

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MaraBlue

    MaraBlue Well-Known Member

    May 3, 2005
    Likes Received:
    Trophy Points:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    If I'm understanding you correctly, you want the emails that show when those scripts are run to go to a specific email address of yours, rather than root?

    Those services/scripts are run by a cron, so check where your cron emails are going by logging in via SSH, then:
    more /etc/crontab
    You can edit the MAILTO="" (which is where the cron emails are sent to) using vi (or your favorite editor). Put the email address you want the emails to be sent to within the quotes.

    As far as the LogWatch emails, check the configuration file:
    more /etc/logwatch/conf/logwatch.conf
    Make sure you've enabled emailing the log report, and make sure there's a cron set in /etc/cron.daily to run LogWatch.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 MaraBlue, Jul 18, 2007
    Last edited: Jul 18, 2007

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