 |
Index for Section 8 |
|
 |
Alphabetical listing for L |
|
 |
Bottom of page |
|
lmat(8)
NAME
lmat - Schedules commands or programs to run on a server at a specified
time or date
SYNOPSIS
lmat [id] [/delete] lmat time [/every:date[,...] | /next:date[,...]]
command
OPTIONS
id An identification number assigned to a scheduled command.
time
Specifies the time when command is to run. It is expressed as
hours:minutes in a 24-hour notation (00:00 [midnight] through 23:59).
command
Specifies the command that is to run on the Advanced Server. When the
command requires a path name as an argument, use the absolute path
name.
/delete
Cancels a scheduled command. If id is omitted, all scheduled commands
on the server are canceled.
/every:date [,...]
Runs the command on each specified day(s) of the week or month. Specify
date as one or more days of the week (M, T, W, Th, F, S, Su) or one or
more days of the month (using numbers 1 through 31). Separate multiple
date entries with a comma. If date is omitted, the current date is
assumed.
/next:date [,...]
Runs the command on the next occurrence of the day. Specify date as one
or more days of the week (M, T, W, Th, F, S, Su) or one or more days of
the month (using numbers 1 through 31). Separate multiple date entries
with a comma. If date is omitted, the current date is assumed.
DESCRIPTION
Use the lmat command to run commands at regularly scheduled intervals. To
display a list of scheduled commands, type lmat without options. Commands
scheduled with the lmat utility run as background processes; no output is
displayed at the server.
Note that there is also an MS-DOS at command.
To redirect the output to a file, use the redirection symbol ( > ) and the
full path name. If you redirect output to a file, enclose the command you
are scheduling in quotation marks.
Scheduled tasks are not lost if you stop the server, but the server must be
running at the time the commands are scheduled to execute.
EXAMPLES
1. To display a list of commands scheduled on the server, type the
following command:
net admin \\servername /command lmat
2. To learn more about a command with the identification number 3, type
the following command:
net admin \\servername /command lmat 3
3. To cancel all commands scheduled on a server, clear the lmat schedule
by typing the following command:
net admin \\servername /command lmat /delete
 |
Index for Section 8 |
|
 |
Alphabetical listing for L |
|
 |
Top of page |
|