Chapter 7: Performing Builds and Scheduling
171
7. When you are finished, choose the
OK
button.
8. Select the
Activate Timer
check box if you scheduled any timed actions.
When the specified time arrives, MasterDirectory executes the actions you specified. However,
MasterDirectory must be running and the specific directory file must be open in order for any
scheduled actions to occur.
If you did not specify a time, MasterDirectory displays “Unattended.” When MasterDirectory is
running, any actions that are scheduled for a specified time will be executed as they are defined.
Actions that are scheduled as “Unattended” are performed when MasterDirectory is executed with the
command line option /u.
Using the command line option, you can set MasterDirectory to perform the following actions:
•
Run import maps.
•
Run export maps.
•
Run transfer maps.
•
Run advanced queries.
MasterDirectory also allows you to create batch files that contain a list of actions that you want
performed. See Example 3 for more information. Example 4 describes how to schedule a batch file that
will run an ACP server import map. Refer to the following four examples of unattended actions that use
the /u command line option.
Unattended Action Example 1
In this example, MasterDirectory will run and perform all of the unattended actions that you specified
in the Scheduler List for the file "sample.md." Once these actions are performed, MasterDirectory then
terminates. Typical usage of this feature is to include the command line option /u in a batch script that
is scheduled to be executed by the AT scheduler on an NT server.
c:\PhoneLine\phlinemdv4\phlinemd /i c:\PhoneLine\phlinemdv4\sample.md /u
where
c:\PhoneLine\phlinemdv4\phlinemd
is the path and executable for MasterDirectory
/i c:\PhoneLine\phlinemdv4\sample.md
is the path and directory for the MasterDirectory file you
want to use
/u
instructs MasterDirectory to execute only unattended operations
Unattended Action Example 2: Running a Specific Map
In this example, MasterDirectory will start, open the file "sample.md," and then run the import map
"import1.imp."
c:\PhoneLine\phlinemdv4\phlinemd /i c:\PhoneLine\phlinemdv4\sample.md /m c:\PhoneLine\phlinemdv4\import1.imp /u
where
c:\PhoneLine\phlinemdv4\phlinemd
is the path and executable for MasterDirectory
/i c:\PhoneLine\phlinemdv4\sample.md
is the path and directory for the MasterDirectory file you
want to use
/m c:\PhoneLine\phlinemdv4\import1.imp
is the path and file name for the map you want to use.
This file can be an import map, export map, transfer map, or advanced query.
/u
instructs MasterDirectory to execute only unattended operations
Summary of Contents for MasterDirectory
Page 1: ...MasterDirectory Data Manager Version 4 3 User s Guide March 2002...
Page 8: ......
Page 126: ...MasterDirectory User s Guide 118...
Page 164: ...MasterDirectory User s Guide 156...
Page 188: ...MasterDirectory User s Guide 180...
Page 196: ...MasterDirectory User s Guide 188...
Page 210: ...MasterDirectory User s Guide 202...