Skip to content
Snippets Groups Projects
Commit b92e6c9c authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Marked up README.

Now using reStructuredText. Cleaned up a few text errors.  Added link to
travis test status.
parent bdee3281
No related branches found
No related tags found
No related merge requests found
Crontab linter.
==========
chkcrontab
==========
.. image:: https://secure.travis-ci.org/lyda/chkcrontab.png
:target: https://secure.travis-ci.org/lyda/chkcrontab
:alt: Build status
Crontab linter
==============
chkcrontab is a script to check crontab files like those in
/etc/cron.d and /etc/crontab. It tries to catch glaring errors
and warn on suspect lines in a crontab file. Some valid lines
will generate warnings. Certain silly yet valid crontab lines
``/etc/cron.d`` and ``/etc/crontab``. It tries to catch glaring
errors and warn on suspect lines in a crontab file. Some valid
lines will generate warnings. Certain silly yet valid crontab lines
will generate errors as well.
Run this by doing ./chkcrontab crontab_file
Run this by doing::
chkcrontab crontab_file
Errors will cause a non-zero exit code. Warnings alone will not.
To see sample output for a bad crontab, run the following:
To see sample output for a bad crontab, run the following::
./chkcrontab ./tests/test_crontab
See the ./tests/test_crontab.disable crontab for how to disable
See the ``./tests/test_crontab.disable`` crontab for how to disable
warnings and errors.
CONTRIBUTIONS
Contributions
=============
Please add unit tests for new features or bug fixes. To run all
the unitests run ./setup test.
the unit tests run ``./setup test``.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment