[systemd-bugs] [Bug 82133] New: Allow for %i format string in OnCalendar values.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 4 06:49:09 PDT 2014


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

          Priority: medium
            Bug ID: 82133
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Allow for %i format string in OnCalendar values.
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: enhancement
    Classification: Unclassified
                OS: Linux (All)
          Reporter: freedesk.apriori at spamgourmet.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

It would be useful if the %i format string were available to specify the value
of OnCalendar.

This would obviate the need to copy .timer unit definitions when just the
OnCalendar value changes. While (I think) it is possible to specify multiple
OnCalendar entries, using the template system would be more flexible.

Another use case for me would be that I have a timer unit which passes
arguments of the form «weekly», «daily», etc., to the service (which in turn
passes it to my script). Without having %i available, I have to create multiple
timers such as «snapshot-daily at daily.timer», «snapshot-weekly at weekly.timer». If
%i could be used, one timer unit would suffice.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140804/da896d3c/attachment.html>


More information about the systemd-bugs mailing list