Cron Jobs Email on Completion, Stop it!

A useful function in some cases but if you have mundane scripts running quite often it can get a little annoying.  To prevent the email add the following text to the end of your cron job:

>/dev/null 2>&1

for example:

15 15 * * * /home/root/do_script>/dev/null 2>&1

More from this section

RECENT PERSONAL WORK

AllTradeArt Case Study
Kwik Travel Case Study
Allotment Case Study
Revolutionshirts Case Study

RECENT ARTICLES

Import Error: No module named django.core.management

Installing and testing the Django Framework on my new mac I came acro... read more

Quick Note on Setting Up a Mail Server

Part of the basics when setting up a mail server but I needed to put ... read more

Microformats Creator Tool

"Microformats are a way of adding simple markup to human-readable... read more

Recursive Directory Listing

Nothing too fancy but a nice way of viewing a directory tree on your ... read more

CREDITS

powered by php-wax the php framework