How do I keep my crontab from sending an email every time it runs?

  • January 22, 2024
  • 0 Comments

Add "" >/dev/null 2>&1 "" after the entry in the crontab, so that it might looks like

0 * * * * /home/uesr/script.pl >/dev/null 2>&1

How helpful was this article to you?

Posting has been disabled.