cronclearer

Crates.iocronclearer
lib.rscronclearer
version1.0.3
created_at2025-09-16 18:56:13.343645+00
updated_at2025-09-17 14:33:12.838142+00
descriptionMaking cron job outputs clearer and easier to debug.
homepagehttps://github.com/migmedia/cronclearer
repository
max_upload_size
id1842206
size55,312
Micha Glave (migmedia)

documentation

README

cronclearer

This is the command execution wrapper called "cronclearer" that helps monitor and analyze command execution, particularly useful for debugging cron jobs.

This tool would be particularly useful for:

  • Debugging cron jobs that fail
  • Analyzing command execution problems
  • Getting detailed execution information when commands fail
  • Capturing and organizing command output in a structured way

The name "cronclearer" should suggest it's intended for making cron job outputs clearer and easier to debug, as cron job failures can sometimes be difficult to diagnose due to limited logging and output capture.

Command Line Options:

  • -h or --help: Shows usage information
  • -i or --ignore-text: Ignores stderr when exit-code is zero.
  • -l or --log: Don't remove log files. Leaves log files for an audit in the temporary directory.
  • -s or --stdout: React on exit-code, or on text on stdout.
  • -V or --version: Show the version of cronclearer.

Author

Micha Glave

Prior Art

  • cronic: A bash-script by Chuck Houpt. I took the basic design idea and most implementation details from.
  • 2>/dev/null: The evil cousin. Ignoring all failures.
Commit count: 0

cargo fmt