App-MonM
view release on metacpan or search on metacpan
lib/App/MonM/Channel.pm view on Meta::CPAN
Weekday[interval]
Weekday[interval,interval,...]
Weekday-Weekday[interval,interval,...]
The "Weekday" should be defined as a name of the day of the week in full or abbreviated form:
Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
Sun, Mon, Tue, Wed, Thu, Fri, Sat
Define how you want to use a schedule. If you want to activate a notification template only during specific
time spans you have the option to combine recurring days of the week into daily intervals by defining
the week interval for these days. You can unite several days into block for repetitive notification use
according to the appointed block settings. In this case Days of the week should be separating them
with "-" character, for example, "Sun-Sat" (all days from Sunday to Saturdays inclusive), or
"Mon-Sun" (all days from Monday to Sunday inclusive). If some day of the week is omitted, then this day
is automatically excluded from the notification schedule
The "Interval" is the Time intervals. To define the hours of the day in which the schedule is
active use an Interval. Time intervals should be written in the form: hh:mm-hh:mm, for example:
00:00-10:00
12-14:50
15-16
If interval is not specified, interval 00:00-23:59 would be applied by default.
You can use the "off" (or "none", "-") value to disable selected day of shedule.
When the time will set as a 00:00-00:00 - it will lead to cancel all notifications for the day
B<Please, note:>
If the At directive is not specified the check scheduling will be disabled and the end user will receive
messages at any time of the day and day of the week. The same effect will have setting of the value of
the At directive as Sun-Sat[00:00-23:59]
Default: Sun-Sat[00:00-23:59]
=item B<Attachment>
<Attachment>
Filename payment.pdf
Type application/pdf
Encoding base64
Disposition attachment
Path /tmp/payment.pdf
</Attachment>
Section (sections) that defines attachments for each message
Default: no attachments
See also L<Email::MIME>
=item B<BasedOn>
BasedOn SendMail
Sets name of the common channel (not user channel) for loading directives from it
=item B<Charset>
Sets the charset
Default: utf-8
See also L<Email::MIME>
=item B<ContentType>
Sets the content type
Default: text/plain
See also L<Email::MIME>
=item B<Enable>
Enable yes
The main switcher of the channel section
Default: no
=item B<Encoding>
Sets encoding (8bit, base64, quoted-printable)
Default: 8bit
See also L<Email::MIME>
=item B<Headers>
<Headers>
X-Foo foo
X-Bar bar
</Headers>
Container for MIME headers definitions
=item B<Type>
Defines type of channel
Allowed types: File, Command, Email
=back
The "Email" channel directives are describes in L<App::MonM::Channel::Email/CONFIGURATION DIRECTIVES>,
the "Command" channel directives are describes in L<App::MonM::Channel::Command/CONFIGURATION DIRECTIVES>,
the "File" channel directives are describes in L<App::MonM::Channel::File/CONFIGURATION DIRECTIVES>
=head1 HISTORY
See C<Changes> file
=head1 TO DO
See C<TODO> file
=head1 SEE ALSO
( run in 0.621 second using v1.01-cache-2.11-cpan-39bf76dae61 )