summaryrefslogtreecommitdiff
path: root/man/systemd.time.xml
diff options
context:
space:
mode:
authorDouglas Christman <DouglasChristman@gmail.com>2016-12-15 20:02:10 -0500
committerDouglas Christman <DouglasChristman@gmail.com>2016-12-16 19:27:33 -0500
commita2eb5ea79c53620cfcf616e83bfac0c431247f86 (patch)
tree0240d5031e9a111999c765c04d00395304d32e48 /man/systemd.time.xml
parentebc8968bc0b6fc460099041f5ae1262ca17eeb6e (diff)
downloadsystemd-a2eb5ea79c53620cfcf616e83bfac0c431247f86.tar.gz
calendarspec: allow repetition values with ranges
"Every other hour from 9 until 5" can be written as `9..17/2:00` instead of `9,11,13,15,17:00`
Diffstat (limited to 'man/systemd.time.xml')
-rw-r--r--man/systemd.time.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/man/systemd.time.xml b/man/systemd.time.xml
index c182d4f37a..d30c6cffc9 100644
--- a/man/systemd.time.xml
+++ b/man/systemd.time.xml
@@ -217,11 +217,12 @@
<para>In the date and time specifications, any component may be
specified as <literal>*</literal> in which case any value will
match. Alternatively, each component can be specified as a list of
- values separated by commas. Values may also be suffixed with
+ values separated by commas. Values may be suffixed with
<literal>/</literal> and a repetition value, which indicates that
the value itself and the value plus all multiples of the repetition value
- are matched. Each component may also contain a range of values
- separated by <literal>..</literal>.</para>
+ are matched. Two values separated by <literal>..</literal> may be used
+ to indicate a range of values; ranges may also be followed with
+ <literal>/</literal> and a repetition value.</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
@@ -281,7 +282,7 @@ Wed..Sat,Tue 12-10-15 1:2:3 → Tue..Sat 2012-10-15 01:02:03
Sat,Sun 12-05 08:05:40 → Sat,Sun *-12-05 08:05:40
Sat,Sun 08:05:40 → Sat,Sun *-*-* 08:05:40
2003-03-05 05:40 → 2003-03-05 05:40:00
- 05:40:23.4200004/3.1700005 → 05:40:23.420000/3.170001
+ 05:40:23.4200004/3.1700005 → *-*-* 05:40:23.420000/3.170001
2003-02..04-05 → 2003-02..04-05 00:00:00
2003-03-05 05:40 UTC → 2003-03-05 05:40:00 UTC
2003-03-05 → 2003-03-05 00:00:00