Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rndmh3ro/check_exit-code


https://github.com/rndmh3ro/check_exit-code

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

check_exit-code
===============

This script can check whether a file was last modified before a time X. If it was modified after that, an error is raised. It can also check, whether the file contains a specific string (e.g. "exit 0"). If it's not there, an error is raised.

Example:

```check_exit_code.py --exitcode -t 20 /path/to/logfile/```