Skip to content
/ dtee Public

Run a program with standard output and standard error copied to files

License

Notifications You must be signed in to change notification settings

nomis/dtee

Folders and files

NameName
Last commit message
Last commit date
Mar 31, 2024
Dec 8, 2024
Apr 25, 2024
Apr 25, 2024
Apr 14, 2024
Apr 20, 2024
Apr 20, 2024
Aug 13, 2022
Apr 5, 2024
Nov 30, 2018
Dec 31, 2018
Apr 8, 2024
Mar 31, 2024
Nov 11, 2018
Sep 23, 2018
Apr 14, 2024
Oct 24, 2018
Apr 19, 2024
Nov 21, 2021
Apr 20, 2024
May 11, 2021

Repository files navigation

dtee (double tee) Build Status

Logo (standard output and standard error represented as two separate T-junctions that split off the content to each side while the content also flows normally)

Description

Run a program with standard output and standard error copied to files while maintaining the original standard output and standard error as normal.

Purpose

To run programs from cron, suppressing all output unless the process outputs an error message or has a non-zero exit status whereupon the original output will be written as normal and the exit code will be appended to standard error.

It will do this by default when invoked as cronty, providing an alternative to cronic but without splitting up the output.

(Also, to do tee(1) with standard output and standard error at the same time.)

Documentation

Read the documentation generated from the docs directory.

About

Run a program with standard output and standard error copied to files

Resources

License

Stars

Watchers

Forks

Packages

No packages published