diff --git a/fhem/FHEM/90_at.pm b/fhem/FHEM/90_at.pm index 89a399583..d62153ef8 100644 --- a/fhem/FHEM/90_at.pm +++ b/fhem/FHEM/90_at.pm @@ -516,6 +516,19 @@ at_ultimo(;$$$) cron or filter the date in a perl expression, see the last example and the section Perl special. +
  • To execute a FHEM command on every last day of the month,
    + the function at_ultimo() can be used as perlfunc for + datespec.
    + define at_ultimo at *{at_ultimo()} set lamp1 off
    + This will create an at device which will be executed at 23:59:00 + on the last day of month.
    + at_ultimo() can take additional parameters to specify an other time + on this day
    + define at_ultimo at *{at_ultimo(12,23,45)} set lamp1 + off
    + This will create an at device which will be executed ad 12:34:45 + on the last day of month.
    +

  • @@ -646,7 +659,7 @@ at_ultimo(;$$$) {perlfunc()} darf keine Leerzeichen enthalten.
    <datespec> ist entweder ISO8601 (YYYY-MM-DDTHH:MM:SS) oder Anzahl - der Sekunden seit 1970. + der Sekunden seit 1970 oder {perlfunc()}.
    @@ -704,6 +717,19 @@ at_ultimo(;$$$) filtern. Siehe hierzu das letzte Beispiel und das Perl special. +
  • Um einen FHEM Befehl immer am letzten Tag des Monats auszuführen, + kann die Funktion at_ultimo() als perlfunc für eine + datespec verwendet werden.
    + define at_ultimo at *{at_ultimo()} set lamp1 off
    + Hiermit wird ein at device erzeugt, der immer am letzten Tag des + Monats um 23:59:00 Uhr ausgeführt wird.
    + at_ultimo() kann drei optionale Parameter verarbeiten, um eine andere + Uhrzeit anzugeben.
    + define at_ultimo at *{at_ultimo(12,23,45)} set lamp1 + off
    + Es wird ein at device erzeugt, das immer um 12:34:45 am Monatsletzten + ausgeführt wird.
    +