Skip to content

Conversation

@claire-1
Copy link

@claire-1 claire-1 commented Jun 22, 2022

This change was requested in this issue #22, and I have run into issues with crontab failing because of commands being too long, so having the linter catch this issue will be a big help.

This PR adds a check to catch lines that are longer than 998. It updates the test file as well. According to the crontab man pages, the maximum number of characters in the command field is 998 https://manpages.debian.org/jessie/cron/crontab.5.en.html.

According to the crontab man pages, the maximum number of characters in
the command field is 998
https://manpages.debian.org/jessie/cron/crontab.5.en.html. This PR adds
a check to catch lines that are longer than 998. It updates the test
file as well. This change was requested in this issue
lyda#22 and I have run into issues
with crontab failing because of lines being too long, so having the
linter catch this issue will be a big help.
@gregorg
Copy link
Contributor

gregorg commented Aug 2, 2022

Please make a PR to my fork: https://github.com/gregorg/chkcrontab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants