122
Installing [email protected]
X[(file)]
Command that creates the specified file or LIGHT.ON. Used in conjunction with the Y() and Z()
commands, this command can control Amanda’s processing of tokens.
file
A string or variable containing a valid DOS file name for a text file. The default is to
create the file LIGHT.ON in the mailbox’s directory.
Example:
A user’s message waiting indicator toggles on and off. For the first message, Amanda should turn
the indicator on. The indicator should be left on for the second and later messages (until they are
all listened to). So you use:
•
Z()
to check whether the indicator is on or not (if LIGHT.ON exists, the indicator is on).
•
X()
to create the LIGHT.ON file when a message arrives and the indicator is not on.
•
Y()
to delete LIGHT.ON when the indicator is turned off because the user has listened to all
the messages.
Failure:
Does not fail
%Y
System variable that contains the current date in American format: MMDDYYYY.
Example:
P(%Y,D)
causes Amanda to say the current date (contained in %Y) as a date.
See the P() command for more information.
Y[(file)]
Command that deletes the specified file or LIGHT.ON.
file
A string or variable containing a valid DOS file name for a text file. The default is to
delete the file LIGHT.ON in the mailbox’s directory.
Example:
Y(C:\\AMANDA\\FOOBAR.TXT)
causes Amanda to delete FOOBAR.TXT.
See also the X() command.
Failure:
Does not fail
%Z
System variable that contains the current time in 24-hour format: HHMM.
Example:
P(%Z,T)
causes Amanda to say the current time (contained in %Z) as a time.
See the P() command for more information.
Z[(file)]
Command that tests for the existence of the specified file or LIGHT.ON. If the file is
there, Amanda immediately stops processing the rest of the tokens for this mailbox.
Otherwise, the next token is executed.
file
A string or variable containing a valid DOS file name for a text file. The default is to
delete the file LIGHT.ON in the mailbox’s directory.
Example:
Z()X()
causes Amanda to check for LIGHT.ON. If it is
not
there, the X() command causes
Amanda to create it.
See also the X() command.
Failure:
Does not fail
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...