Skip to main content

Delete incoming emails everyday using a Cron

Comments

2 comments

  • Eric
    Howdy, You've got 2 options I can think of in this insomnia: 1. Make the output of the crontab go away. Add the > /dev/null to the end of the command and it should shut its trap. An example:
    * * * * * /usr/local/sbin/mycommand.sh > /dev/null
    2. Remove the mail address it's pointing to. Delete or set a dev/null account for the MAILTO= line in the crontab. Thanks!
    0
  • Ruzeen
    Thanks
    0

Please sign in to leave a comment.