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.

How do I stop cron emails?

Discussion in 'E-mail Discussions' started by acer2k, Nov 6, 2003.

  1. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    I have a script that runs every minute. How do I stop cron from sending me 1440 e-mails per day (1 every minute when that script runs)
     
  2. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    add

    > /dev/null 2>&1

    to the end of your command line
     
Loading...

Share This Page