hashicorp / hashicorp/nomad

Systemd timer format for periodic jobs

Open
#18,079 5 comments 0 reactions 0 assignees View on GitHub
stage/needs-discussion theme/jobspec theme/periodic type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

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 https://github.com/hashicorp/nomad/pull/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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the proposed PeriodicSpecSystemd type and the systemd.time format linked in the issue, then compare the referenced cronexpr fork and its added tests. Done means Nomad accepts systemd timer expressions as another periodic specification type, with coverage for the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.