32_mailcheck.pm: added disabledForIntervals

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-07-01 20:20:31 +00:00
parent 01d9b91e3d
commit c98e7db07e

View File

@ -41,6 +41,7 @@ mailcheck_Initialize($)
$hash->{AttrList} = "debug:1 ". $hash->{AttrList} = "debug:1 ".
"delete_message:1 ". "delete_message:1 ".
"disable:1 ". "disable:1 ".
"disabledForIntervals ".
"interval ". "interval ".
"logfile ". "logfile ".
"nossl:1 "; "nossl:1 ";
@ -130,7 +131,7 @@ mailcheck_Connect($)
my ($hash) = @_; my ($hash) = @_;
my $name = $hash->{NAME}; my $name = $hash->{NAME};
return undef if( AttrVal($name, "disable", 0 ) == 1 ); return undef if( IsDisabled($name) > 0 );
my $socket; my $socket;
if( AttrVal($name, "nossl", 0) ) { if( AttrVal($name, "nossl", 0) ) {
@ -525,6 +526,7 @@ mailcheck_Read($)
1 -> don't use ssl.</li><br> 1 -> don't use ssl.</li><br>
<li>disable<br> <li>disable<br>
1 -> disconnect and stop polling</li> 1 -> disconnect and stop polling</li>
<li>disabledForIntervals HH:MM-HH:MM HH:MM-HH-MM...</li>
<li>debug<br> <li>debug<br>
1 -> enables debug output. default target is stdout.</li> 1 -> enables debug output. default target is stdout.</li>
<li>logfile<br> <li>logfile<br>