text stringlengths 0 4.23k |
|---|
Time of Day: 4:30 PM |
Command: net send group leads status due |
After you schedule a command, especially a command that has command-line options, check that the command syntax is correct by typing at without any command-line options. If the information in the Command Line column is wrong, delete the command and retype it. If it's still incorrect, retype the command using fewer command-line options. |
Commands scheduled with at run as background processes. Output is not displayed on the computer screen. To redirect output to a file, use the redirection symbol >. If you redirect output to a file, you need to use the escape symbol ^ before the redirection symbol, whether you are using at at the command line or in a batch file. For example, to redirect output to output.txt, type: |
> |
^ |
at 14:45 c:\test.bat ^>c:\output.txt |
The current directory for the executing command is the systemroot folder. |
If you change the system time after you schedule a command to run, synchronize the at scheduler with the revised system time by typing at without command-line options. |
Scheduled commands are stored in the registry. As a result, you don't lose scheduled tasks if you restart the Schedule service. |
Do not use a redirected drive for scheduled jobs that access the network. The Schedule service might not be able to access the redirected drive, or the redirected drive might not be present if a different user is logged on at the time the scheduled task runs. Instead, use UNC paths for scheduled jobs. For example: |
at 1:00pm my_backup \\server\share |
Do not use the following syntax, where x: is a connection made by the user: |
at 1:00pm my_backup x: |
If you schedule an at command that uses a drive letter to connect to a shared directory, include an at command to disconnect the drive when you are finished using the drive. If the drive is not disconnected, the assigned drive letter won't be available at the command prompt. |
By default, tasks scheduled using this command will stop after 72 hours. You can modify the registry to change this default value. |
To modify the registry |
Caution |
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer. |
Start the registry editor (regedit.exe). |
Locate and click the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule |
On the Edit menu, click Add Value, and then add the following registry values: |
Value Name. atTaskMaxHours |
Data type. reg_DWOrd |
Radix. Decimal |
Value Data: 0. A value of 0 in the Value Data field indicates no limit and doesn't not stop. Values from 1 through 99 indicates the number of hours. |
You can use the Scheduled Tasks folder to view or modify the settings of a task that was created by using this command. When you schedule a task using this command, the task is listed in the Scheduled Tasks folder, with a name such as the following:at3478. However, if you modify a task through the Scheduled Tasks folder, it's upgraded to a normal scheduled task. The task is no longer visible to the at command, and the at account setting no longer applies to it. You must explicitly enter a user account and password for the task. |
Examples |
To display a list of commands scheduled on the Marketing server, type: |
at \\marketing |
To learn more about a command with the identification number 3 on the Corp server, type: |
at \\corp 3 |
To schedule a net share command to run on the Corp server at 8:00 A.M. and redirect the listing to the Maintenance server, in the Reports shared directory, and the Corp.txt file, type: |
at \\corp 08:00 cmd /c net share reports=d:\marketing\reports >> \\maintenance\reports\corp.txt |
To back up the hard drive of the Marketing server to a tape drive at midnight every five days, create a batch program called Archive.cmd, which contains the backup commands, and then schedule the batch program to run, type: |
at \\marketing 00:00 /every:5,10,15,20,25,30 archive |
To cancel all commands scheduled on the current server, clear the at schedule information as follows: |
at /delete |
To run a command that is not an executable (.exe) file, precede the command with cmd /c to load cmd.exe as follows: |
cmd /c dir > c:\test.out |
atmadm |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Monitors connections and addresses that are registered by the atM call Manager on an asynchronous transfer mode (atM) network. You can use atmadm to display statistics for incoming and outgoing calls on atM adapters. Used without parameters, atmadm displays statistics for monitoring the status of active atM connections. |
Syntax |
atmadm [/c][/a][/s] |
Parameters |
Parameter |
Description |
/c |
Displays call information for all current connections to the atM network adapter installed on this computer. |
/a |
Displays the registered atM network service access point (NSAP) address for each adapter installed in this computer. |
/s |
Displays statistics for monitoring the status of active atM connections. |
/? |
Displays help at the command prompt. |
Remarks |
The atmadm /c command produces output similar to the following: |
Windows atM call Manager Statistics |
atM Connections on Interface : [009] Olicom atM PCI 155 Adapter |
Connection VPI/VCI remote address/ |
Media Parameters (rates in bytes/sec) |
In PMP SVC 0/193 47000580FFE1000000F21A2E180020481A2E180B |
Tx:UBR,Peak 0,Avg 0,MaxSdu 1516 |
Rx:UBR,Peak 16953936,Avg 16953936,MaxSdu 1516 |
Out P-P SVC 0/192 47000580FFE1000000F21A2E180020481A2E180B |
Tx:UBR,Peak 16953936,Avg 16953936,MaxSdu 1516 |
Rx:UBR,Peak 16953936,Avg 16953936,MaxSdu 1516 |
In PMP SVC 0/191 47000580FFE1000000F21A2E180020481A2E180B |
Tx:UBR,Peak 0,Avg 0,MaxSdu 1516 |
Rx:UBR,Peak 16953936,Avg 16953936,MaxSdu 1516 |
Out P-P SVC 0/190 47000580FFE1000000F21A2E180020481A2E180B |
Tx:UBR,Peak 16953936,Avg 16953936,MaxSdu 1516 |
Rx:UBR,Peak 16953936,Avg 16953936,MaxSdu 1516 |
In P-P SVC 0/475 47000580FFE1000000F21A2E180000C110081501 |
Tx:UBR,Peak 16953984,Avg 16953984,MaxSdu 9188 |
Rx:UBR,Peak 16953936,Avg 16953936,MaxSdu 9188 |
Out PMP SVC 0/194 47000580FFE1000000F21A2E180000C110081501 (0) |
Tx:UBR,Peak 16953984,Avg 16953984,MaxSdu 9180 |
Rx:UBR,Peak 0,Avg 0,MaxSdu 0 |
Out P-P SVC 0/474 4700918100000000613E5BFE010000C110081500 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.