Thursday, 7 March 2019

unix - Stop cron from emailing me


How can I stop cron from emailing me the results of jobs I schedule?



Answer



By setting the environment variable "MAILTO" as ""


Somethig like:


SHELL=/bin/bash
MAILTO=



01 * * * * /your/path/to/script/here.sh

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...