Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cronjobs do not support forward-slash notation #74

Closed
fredreichbier opened this issue May 14, 2019 · 2 comments · Fixed by #77
Closed

Cronjobs do not support forward-slash notation #74

fredreichbier opened this issue May 14, 2019 · 2 comments · Fixed by #77
Assignees
Labels
Milestone

Comments

@fredreichbier
Copy link
Contributor

Steps to reproduce:

  1. add an audit rotation cronjob that should be run at */5 * * * *, i.e. every 5 minutes
  2. the cronjob is correctly written to /etc/crontab
  3. add an arbitrary backup cronjob
  4. notice that the audit rotation cronjob is gone from /etc/crontab

This is because crontabparser does not support the forward-slash notation. Hence, it ignores the corresponding line when parsing /etc/crontab in step 3, and the crontab written in step 4 misses this line.

@fredreichbier fredreichbier added this to the 2.2 milestone May 14, 2019
@cornelinux
Copy link
Member

Then, this should be a bug here, right?

@fredreichbier
Copy link
Contributor Author

Hm, possibly. I opened privacyidea/crontabparser#3. I'd like to keep this issue here open as well, because the bug negatively affects the functionality of the appliance.

@plettich plettich self-assigned this May 16, 2019
plettich added a commit that referenced this issue May 17, 2019
Remove dbus dependency from travis config

Fixes #74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants