When then cron job runs everytime we get email notification, what if we want to disable this notification.
Let’s see how to do this:
You have to add this simple line in your cron job command.
>/dev/null 2>&1
You can check below example.
15 * * * Mon ${HOME}/exampletask.sh > /dev/null 2>&1