summaryrefslogtreecommitdiff
path: root/man/systemd.time.xml
diff options
context:
space:
mode:
authorDouglas Christman <DouglasChristman@gmail.com>2016-11-22 10:05:10 -0500
committerDouglas Christman <DouglasChristman@gmail.com>2016-11-23 12:37:43 -0500
commit8ea803516e4a4265a77d026f740c272cd60107a4 (patch)
tree639382e116b9be3ae51635dcb3bcbcf88c1b3ed4 /man/systemd.time.xml
parentf6e7d66b9f1db07ae80af3d75dabaf95f7f43a15 (diff)
downloadsystemd-8ea803516e4a4265a77d026f740c272cd60107a4.tar.gz
calendarspec: add support for scheduling timers at the end of the month
"*-*~1" => The last day of every month "*-02~3..5" => The third, fourth, and fifth last days in February "Mon 05~07/1" => The last Monday in May Resolves #3861
Diffstat (limited to 'man/systemd.time.xml')
-rw-r--r--man/systemd.time.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/systemd.time.xml b/man/systemd.time.xml
index 47229b4a4e..fb13ea52ff 100644
--- a/man/systemd.time.xml
+++ b/man/systemd.time.xml
@@ -223,6 +223,11 @@
are matched. Each component may also contain a range of values
separated by <literal>..</literal>.</para>
+ <para>A date specification may use <literal>~</literal> to indicate the
+ last day(s) in a month. For example, <literal>*-02~03</literal> means
+ "the third last day in February," and <literal>Mon *-05~07/1</literal>
+ means "the last Monday in May."</para>
+
<para>The seconds component may contain decimal fractions both in
the value and the repetition. All fractions are rounded to 6
decimal places.</para>