-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check for max number of allowed characters
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 #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.
- Loading branch information
Claire Adams
committed
Jun 22, 2022
1 parent
468d696
commit 1c4d871
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters