How to Disable Cron Email

Cron is a scheduling system on Linux that is used to setup automated, repeated task schedules for things such as system maintenance, restarting services and other tasks. By default, Cron sends email alerts when tasks are performed, which can get overwhelming if you have a lot of tasks that repeat often. However, you can disable Cron emails by editing your Crontab file, where your user account settings are located.

Instructions

    • 1

      Log in to your Linux system.

    • 2

      Type "crontab -e" and press "Enter."

    • 3

      Locate the line that has the task on it for which you want to disable mail alerts.

    • 4

      Type " >/dev/null 2>&1" at the end of the line.

    • 5

      Save the file to disable mail alerts.

Related Searches:

References

Comments

Related Ads

Featured