Jim Streit writes:
> Next question... how do I make sure that my cron job doesn't try to
> send a message to root when it runs?

Any output from cron is mailed to the owner of the cron job.  What you want
to do is make sure there is no output.  Do this by redirecting the output:

command > /dev/null

The above redirects stdout (file descriptor 1) to /dev/null.  Many commands
write error messages to stderr (fd 2).  If you also want to discard error
messages, do this:

command > /dev/null 2>&1

The above makes stderr a copy of stdout.  You can also specifically redirect
each descriptor:

command > /dev/null 2> /dev/null

-- 
David Phillips <david at acz.org>
http://david.acz.org/


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list