[systemd-devel] [PATCH 2/5] man: reorganization of calendar specs

Lennart Poettering lennart at poettering.net
Mon Nov 10 16:03:55 PST 2014


On Thu, 30.10.14 12:19, Daniele Medri (dmedri at gmail.com) wrote:

> ---
>  man/systemd.time.xml | 31 ++++++++++++++-----------------
>  1 file changed, 14 insertions(+), 17 deletions(-)
> 
> diff --git a/man/systemd.time.xml b/man/systemd.time.xml
> index 2342684..2ee5858 100644
> --- a/man/systemd.time.xml
> +++ b/man/systemd.time.xml
> @@ -241,23 +241,20 @@
>  
>                  <para>Timezone names may not be specified.</para>
>  
> -                <para>The special expressions
> -                <literal>minutely</literal>,
> -                <literal>hourly</literal>, <literal>daily</literal>,
> -                <literal>monthly</literal>, <literal>weekly</literal>,
> -                <literal>yearly</literal>,
> -                <literal>quarterly</literal>,
> -		<literal>semesterly</literal> or <literal>semiannually</literal>
> -		may be used as calendar events which refer to
> -                <literal>*-*-* *:*:00</literal>,
> -                <literal>*-*-* *:00:00</literal>,
> -                <literal>*-*-* 00:00:00</literal>,
> -                <literal>*-*-01 00:00:00</literal>,
> -                <literal>Mon *-*-* 00:00:00</literal>,
> -                <literal>*-01-01 00:00:00</literal>,
> -                <literal>*-01,04,07,10-01 00:00:0</literal> and
> -                <literal>*-01,07-01 00:00:00</literal> respectively.
> -                </para>
> +                <para>Special expressions may be used as calendar events:</para>
> +
> +		<programlisting>
> +                  minutely → *-*-* *:*:00
> +                    hourly → *-*-* *:00:00
> +                     daily → *-*-* 00:00:00
> +                    weekly → Mon *-*-* 00:00:00
> +                   monthly → *-*-01 00:00:00
> +                 quarterly → *-01,04,07,10-01 00:00:00
> +                semesterly → *-01,07-01 00:00:00
> +              semiannually → *-01,07-01 00:00:00
> +                    yearly → *-01-01 00:00:00
> +                  annually → *-01-01 00:00:00
> +                </programlisting>

I'd think turning this into a proper docbook table would make a ton of
sense! Would love to take a patch for that!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list