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!

MAILTO in cpanel cron

Discussion in 'E-mail Discussion' started by mindshift, Dec 17, 2002.

  1. mindshift

    mindshift Member

    Joined:
    Jun 26, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    I like to have cron output sent to one of my e-mail accounts. in ssh I can make the crontab be:

    MAILTO=&my@e-mail.com&
    0 0 0 * * command

    But when I access cron through cpanel it sticks the MAILTO command in the minutes box and messes everything up. Even if I put the MAILTO in the command box in cpanel the next time I access it the address is gone.

    It would be nice if cpanel let you have the option of putting an e-mail in there. perhaps a place to put an address and cpanel automatically sticking that in the cron.
     
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