From a2eb5ea79c53620cfcf616e83bfac0c431247f86 Mon Sep 17 00:00:00 2001 From: Douglas Christman Date: Thu, 15 Dec 2016 20:02:10 -0500 Subject: 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` --- man/systemd.time.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'man/systemd.time.xml') 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 @@ In the date and time specifications, any component may be specified as * 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 / 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 ... + are matched. Two values separated by .. may be used + to indicate a range of values; ranges may also be followed with + / and a repetition value. A date specification may use ~ to indicate the last day(s) in a month. For example, *-02~03 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 -- cgit v1.2.1