<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Allow for %i format string in OnCalendar values."
href="https://bugs.freedesktop.org/show_bug.cgi?id=82133">82133</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Allow for %i format string in OnCalendar values.
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>freedesk.apriori@spamgourmet.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>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 «<a href="mailto:snapshot-daily@daily.timer">snapshot-daily@daily.timer</a>», «<a href="mailto:snapshot-weekly@weekly.timer">snapshot-weekly@weekly.timer</a>». If
%i could be used, one timer unit would suffice.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>