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

Renamed the script.

parent 76f23fe7
Branches
Tags
No related merge requests found
include LICENSE OWNERS README
include chkcrontab.py
include chkcrontab
include chkcrontab_lib.py
include setup.py
recursive-include tests test*
Crontab linter.
chkcrontab.py is a script to check crontab files like those in
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
will generate errors as well.
Run this by doing ./chkcrontab.py 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:
./chkcrontab.py ./tests/test_crontab
./chkcrontab ./tests/test_crontab
See the ./tests/test_crontab.disable crontab for how to disable
warnings and errors.
......
File moved
......@@ -129,7 +129,7 @@ setup(
description='A tool to detect crontab errors',
long_description=open('README').read(),
py_modules=['chkcrontab_lib'],
scripts=['chkcrontab.py'],
scripts=['chkcrontab'],
keywords='check lint crontab',
# See http://pypi.python.org/pypi?%3Aaction=list_classifiers
license = 'Apache Software License',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment