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

Fix @yearly and @annually support #5

Closed
kstep opened this issue Jul 9, 2014 · 4 comments
Closed

Fix @yearly and @annually support #5

kstep opened this issue Jul 9, 2014 · 4 comments

Comments

@kstep
Copy link
Member

kstep commented Jul 9, 2014

systemd.time does not support @yearly period, it should be converted to correct OnCalendar timer.

@kstep kstep mentioned this issue Jul 9, 2014
@a-detiste
Copy link
Contributor

yearly is supported in systemd since v209

http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html
"OnCalendar= in timer units now understands the special strings "yearly" and "annually". (Both are equivalent)"

.

There's a not working support for @Yearly and @annually

Do you mean it's not working in systemd or not working in systemd-crontab-generator ?

@a-detiste
Copy link
Contributor

The code seems to be there in systemd

http://cgit.freedesktop.org/systemd/systemd/commit/?id=135168183ecb23f642b4f9fb9a50410e6735c628

But the documentation seems to be a bit lagging, so I filled a request to adapt it.

https://bugs.freedesktop.org/show_bug.cgi?id=81158

@kstep
Copy link
Member Author

kstep commented Jul 10, 2014

Thank you for your research, I have missed this point.

@kstep kstep closed this as completed Jul 10, 2014
@a-detiste
Copy link
Contributor

fixed in upstream documentation: http://cgit.freedesktop.org/systemd/systemd/commit/?id=8c275eef38

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

No branches or pull requests

2 participants