I do many cron jobs like below.
Code:
0 0 * * * command1 && command2 && command3 && command4 && command5 1> /dev/null 2>&1
Obviously I don't want their emails but apparently first four email, I guess not fifth. Is there a way to stop emails other than '1> /dev/null 2>&1' at end of every command?
I'd like to know for *BSD Unix (Open, Free, and fine to describe Net, DragonFly, IllumOS) and hopefully strictly Unix-like GNU/Linux (Slackware, though I don't use Devuan or Gentoo much., and don't consider latter two strictly Unix-like but almost, and no others well-known are anything close.)