5 ms·
You can set MAILTO by itself between the job lines in the crontab; e.g.: MAILTO=user1@example.com * */10 * * * script1 5 * * * * script2 MAILTO
by asjo 14y ago
You can set MAILTO by itself between the job lines in the crontab; e.g.:
MAILTO=user1@example.com
* */10 * * * script1
5 * * * * script2
MAILTO=user2@example.com
* * * * * script3
Any output from script1 and 2 will be sent to user1 and any from script3 to user2.