This is the command chronic that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
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
Use chronic online using onworks.net services