mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +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:
parent
57201f6488
commit
f05dd2906d
@ -45,6 +45,10 @@ FileLog_Initialize($)
|
|||||||
$hash->{SVG_sampleDataFn} = "FileLog_sampleDataFn";
|
$hash->{SVG_sampleDataFn} = "FileLog_sampleDataFn";
|
||||||
$data{FWEXT}{"/FileLog_toSVG"}{CONTENTFUNC} = "FileLog_toSVG";
|
$data{FWEXT}{"/FileLog_toSVG"}{CONTENTFUNC} = "FileLog_toSVG";
|
||||||
$data{FWEXT}{"/FileLog_logWrapper"}{CONTENTFUNC} = "FileLog_logWrapper";
|
$data{FWEXT}{"/FileLog_logWrapper"}{CONTENTFUNC} = "FileLog_logWrapper";
|
||||||
|
|
||||||
|
InternalTimer(time()+0.1, sub() { # Forum #39792
|
||||||
|
map { HandleArchiving($defs{$_}) } devspec2array("TYPE=FileLog");
|
||||||
|
}, $hash, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user