2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

92_FileLog.pm: execute HandleArchiving upon startup (Forum #39722)

git-svn-id: https://svn.fhem.de/fhem/trunk@9038 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-08-09 09:49:02 +00:00
parent 57201f6488
commit f05dd2906d

View File

@ -45,6 +45,10 @@ FileLog_Initialize($)
$hash->{SVG_sampleDataFn} = "FileLog_sampleDataFn";
$data{FWEXT}{"/FileLog_toSVG"}{CONTENTFUNC} = "FileLog_toSVG";
$data{FWEXT}{"/FileLog_logWrapper"}{CONTENTFUNC} = "FileLog_logWrapper";
InternalTimer(time()+0.1, sub() { # Forum #39792
map { HandleArchiving($defs{$_}) } devspec2array("TYPE=FileLog");
}, $hash, 0);
}