Chapter 11: Programming Amanda
105
I(value,
operator,
value,mailbox)
Command that allows you to control processing based on a condition. If the specified
values and operator create a condition that is true, Amanda continues processing at the
specified mailbox. If the condition is false, the next token after this command is execut-
ed.
value
Any string, number, or variable.
operator
One of the following symbols:
>
greater than
<
less than
=
equal
!
not equal
mailbox
Any valid mailbox or a variable containing a mailbox.
Examples:
I("111",<,"222",1000)
continue processing at mailbox 1000.
I("111",>,"222",1000)
continue processing at the next token.
I(%S1,=,"1234",2000)
continue at mailbox 2000 only if %S1 contains the value 1234.
I(%S1,=,"SPANISH",2000)
continue at mailbox 2000 only if %S1contains the value "SPANISH".
N
OTE
:
When using the I() command in a Notify Method field, remember that the telephone port
is still in Notify mode and cannot transfer a call. Therefore, the Extension field that you
go to should start with an @.
Failure:
Invalid mailbox
If there is a problem with a condition, it is considered false rather than a failure
Alphabetical Token Reference (Continued)
Token Syntax
Description
Содержание [email protected] Version 3.xx
Страница 1: ...Installing AmAndA Work Place Version 3 xx Installer s Guide Edition 7 01...
Страница 4: ...iv Installing Amanda Work Place...
Страница 60: ...52 Installing Amanda Work Place...
Страница 68: ...60 Installing Amanda Work Place...
Страница 132: ...124 Installing Amanda Work Place...
Страница 150: ...142 Installing Amanda Work Place...
Страница 156: ...148 Installing Amanda Work Place...
Страница 194: ...186 Installing Amanda Work Place...
Страница 206: ...198Installing Amanda Work Place...