1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

crontab notification

Discussion in 'Plesk for Linux - 8.x and Older' started by path2u, Jul 11, 2006.

  1. path2u

    path2u Guest

    I have a ton of crontab jobs running at high frequency ... how to I disable crontab notificaiton emails.
    If I try leaving email field blank I get an error.
    My catch all email account is overflowing constantly.
  2. jamesyeeoc

    jamesyeeoc Guest

    You could always use a 'blackhole' email account (an email account which does not have the checkmark in 'mailbox'. This will effectively send the emails to /dev/nul.

    (just a thought)
  3. path2u

    path2u Guest

    good idea

    I like that idea ... thanks ... however I am not sure I can implement it with my current setup. We have a dedicated server which is not acting as email server, but instead is pointing MX records to outside email service.
    I do not think I have the ability to make a Black Hole account there, even though I can make a catch-all.
  4. garett

    garett Guest

    I had the same type of issue with a couple minutely jobs running. Even though there was no output from the job, an email is still sent out. My dedicated server provider only allows 1000 emails per day, and if you submit a form showing you are not sending spam mail, they'll up it to 5000. With just one minutely job the server already sends out 1,440 emails per day. To get around this, I don't use Plesk to schedule minutely jobs and now just schedule the minutely jobs by logging in via SSH and type in the command crontab -e to edit the crontab file directly.
  5. garett

    garett Guest

    Looks like this method is still sending messages. I'll post an update if I figure out a fix for this.
  6. blank_page

    blank_page Regular Pleskian

    Dec 17, 2006
    Likes Received:

    If you redirect the output of the cron into : >/dev/null 2>&1 you should not recieve mail.