[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Quiet Cron?
>>>>> "Barrie" == Barrie Bremner <TheEnglishman [at] ecosse.net> writes:
Barrie> ow do I make Cron shutup?
If you know you never want to hear from that job, add `>/dev/null
2>&1' (order matters) to the command line (cron uses a shell, so
redirection works).
If there are regular messages you don't want to hear, but think the
job might produce errors you _should_ hear about, use `2>&1 | grep -v
$expression_to_catch_uninteresting_text' (the -v says output
non-matchs, suppress matches).
You can probably complete shut up cron, but that's not a good idea.
You will regret it someday.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.