[systemd-devel] Feature request: schedule jobs for last day of month

Kay Sievers kay at vrfy.org
Tue Feb 5 17:33:35 PST 2013


On Mon, Feb 4, 2013 at 11:47 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> This definitely sounds useful. We should certainly extend our syntax to
> support this, and the code for it wouldn't even be that difficult.
>
> However: we'd first have to come up with a nice syntax for it. I'd
> assume we probably want to allow not only the last day of the month, but
> any day counted from the end of the month. It would appear natural to
> use negative numbers for that, so that "5" is the fifth day, and "-5"
> the day five days before the end of the month. However, the dash is
> already used to separate the day from the month, so that would look a
> little awkward.

Hmm, is it really that awkward? Seems easier to guess what it means
than the other magic chars.
  2012-02--4

Kay


More information about the systemd-devel mailing list