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.

MAILTO in cpanel cron

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

  1. mindshift

    mindshift Member

    Joined:
    Jun 26, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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