chronic man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

CHRONIC(1)							    CHRONIC(1)

NAME
       chronic - runs a command quietly unless it fails

SYNOPSIS
       chronic COMMAND...

DESCRIPTION
       chronic runs a command, and arranges for its standard out and standard
       error to only be displayed if the command fails (exits nonzero or
       crashes).  If the command succeeds, any extraneous output will be
       hidden.

       A common use for chronic is for running a cron job. Rather than trying
       to keep the command quiet, and having to deal with mails containing
       accidental output when it succeeds, and not verbose enough output when
       it fails, you can just run it verbosely always, and use chronic to hide
       the successful output.

	       0 1 * * * chronic backup # instead of backup >/dev/null 2>&1

AUTHOR
       Copyright 2010 by Joey Hess <id@joeyh.name>

       Original concept and "chronic" name by Chuck Houpt.

       Licensed under the GNU GPL version 2 or higher.

moreutils			  2015-10-07			    CHRONIC(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net