Prevent Unwanted Cron Emails From Mail Server On Linux

View previous topic View next topic Go down

Prevent Unwanted Cron Emails From Mail Server On Linux

Post by jamied_uk on 8th August 2016, 20:00

how to stop cron errors going to outgoing  mail


Code:
from:*) subject:Cron Cron

use above string to filter gmail messages for unwanted Cron subject email data!
avatar
jamied_uk
Admin

Posts : 2260
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Prevent Unwanted Cron Emails From Mail Server On Linux

Post by jamied_uk on 8th August 2016, 20:01

Now for the cronjobs / crontabs


Code:
sudo crontab -e

Code:
 sh file.sh > /dev/null 2>&1
avatar
jamied_uk
Admin

Posts : 2260
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum