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

make the user configurable a systemd timer runs as #128

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Conversation

zagy
Copy link
Member

@zagy zagy commented Aug 16, 2023

No description provided.

@zagy zagy requested a review from frlan August 16, 2023 13:46
@@ -128,13 +128,19 @@ class SystemdTimer(batou.component.Component):

"""

_required_params_ = {"command": "/bin/true", "onCalendar": "*/4 * * * * "}
_required_params_ = {"command": "/bin/true", "onCalendar": "02:00:00"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SystemD doesn't use cron syntax. Feel free to use a different example but the old one wouldn't even work.

@frlan frlan merged commit c07bcd5 into master Aug 17, 2023
6 checks passed
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