Skip to content

Conversation

@gregorg
Copy link
Contributor

@gregorg gregorg commented Feb 7, 2017

No description provided.

@gregorg
Copy link
Contributor Author

gregorg commented Aug 2, 2022

merged in: https://github.com/gregorg/chkcrontab

hannob and others added 4 commits January 18, 2024 11:18
Use r strings to avoid SyntaxWarning in python 3.12
The existing code causes a LINE_ERROR for cronjobs that consist of a single
command without any parameters. This is due to the fact that the regular
expression expects a username string and a command after that, and the conditional
is_user_crontab code concats these two strings.

Instead of doing that, this commit introduces a separate regular expression
for user crontab lines.
Fix user crontab regular expression
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