Setting up cron to remove emails from an utility email

  Administration, Cron

Sometimes you need to add an email to receive alerts and other emails for you system or business. WThen after a while the email account is full of emails. One method to automate this is to set up a cron in cpanel to remove the emails. Here is an example.

bin/find /home/cpaneluser/mail/ -type f -exec rm {} \;