-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Systemd timer format for periodic jobs #18079
Comments
Hi @aneustroev! This proposal raises a couple of questions for me:
In any case, even if we were to do this, the |
Hi. I don't ask about change format, just about option. 😄 Now you have
5 4 * * *
# vs
*-*-* 04:05:00
# or just
04:05 and with dates 5 4 */2 4-5 *
# vs
*-4..5-01/2 04:05:00
# or shorter form
*-4..5-01/2 04:05 Our programmers have no problems and prefer it. I agree with you about |
Thanks for the clarification @aneustroev. I'm not sure we're definitely going to accept this but I'll move it into roadmapping for further discussion. |
Hi @aneustroev, I'll try to get that reviewed in the next week. |
Hi there, I want to suggest implement PeriodicSpecSystemd
Proposal
I want to add another one PeriodicSpecType.
https://www.freedesktop.org/software/systemd/man/systemd.time.html
It is more flexible and usefull for many system administration who knows how to managing systemd.
I forked you cronexpr library, and add systemd timers functionality. (also rewrite some tests and add my)
https://github.com/WinnerSoftLab/cronexpr
I can implement it in Nomad, but after my PR #17858 will be merged , because it will have a lot conflicts if I violate the order merges.
Use-cases
Nomad get more flexible and famous format for describe periodic job times.
The text was updated successfully, but these errors were encountered: