[98_JsonMod.pm][Bug] interval ignoriert wert für Wochentag

Begonnen von yersinia, 24 Mai 2020, 14:24:42

Vorheriges Thema - Nächstes Thema

yersinia

Hallo herrmannj,

mir ist aufgefallen, dass das Attribut interval zwar laut doku eine cron-ähnliche Definition erlaubt
Zitatinterval
set <name> interval <*/15 * * * *>
utilize a cron expression to define the interval at which the source file will be loaded. Default is one hour.
diese aber zumindest für den Wochentag zu ignorieren scheint. Ich habe folgendes definiert:
attr buggydevice interval 10 14 * * 3
also jeden Mittwoch um 14:10 - die 3 für Mittwoch wird ignoriert und JsonMod aktualisiert jeden Tag um 14:10; wie zB gerade eben:
READINGS:
     2020-05-24 14:10:00   .computedReadings tag_name


crontab manpage besagt:
ZitatThe time and date fields are:
              field          allowed values
              -----          --------------
              minute         0-59
              hour           0-23
              day of month   1-31
              month          1-12 (or names, see below)
              day of week    0-7 (0 or 7 is Sunday, or use names)

Kannst du dir das anschauen und bitte fixen? Danke. :)
viele Grüße, yersinia
----
FHEM 6.3 (SVN) on RPi 4B with RasPi OS Bullseye (perl 5.32.1) | FTUI
nanoCUL->2x868(1x ser2net)@tsculfw, 1x433@Sduino | MQTT2 | Tasmota | ESPEasy
VCCU->14xSEC-SCo, 7xCC-RT-DN, 5xLC-Bl1PBU-FM, 3xTC-IT-WM-W-EU, 1xPB-2-WM55, 1xLC-Sw1PBU-FM, 1xES-PMSw1-Pl

herrmannj

... noch nicht implementiert ;) und bereits auf der Liste