How To Use the AT Command to Schedule Tasks

???? ?????? ???? ??????
???? ID: 313565 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
?????
This article applies to Windows 2000.Support for Windows 2000 ends on July 13, 2010.TheWindows 2000 ???-??-?????? ?????? ??????Windows 2000 ?? ???? ????????? ?????? ?? ????? ????? ?? ??? ??? ??????? ????? ??? ???? ??????? ?? ??? ?????Microsoft ?????? Lifecycle ????.
?????
This article applies to Windows 2000.Support for Windows 2000 ends on July 13, 2010.TheWindows 2000 ???-??-?????? ?????? ??????Windows 2000 ?? ???? ????????? ?????? ?? ????? ????? ?? ??? ??? ??????? ????? ??? ???? ??????? ?? ??? ?????Microsoft ?????? Lifecycle ????.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

In Windows 2000, you can use the Task Scheduler tool in Control Panel to schedule tasks. ?? ????? ?? ??????command to schedule tasks manually. ?? ???? ????? ?? ?? ?????? ?????? ?????? ?? ????? ???? ???? ????command to create and to cancel scheduled tasks.

Overview of the AT Command

?? ????? ?? ???? ?????command to schedule a command, a script, or a program to run at a specified date and time. You can also use this command to view existing scheduled tasks.

?? ????? ???? ?? ?????command, the Task Scheduler service must be running, and you must be logged on as a member of the local Administrators group. ?? ?? ????? ??????command to create tasks, you must configure the tasks so that they run in the same user account.

The??command uses the following syntax:
at \\computername time?????? /|/ ?????:??????,...???? /:??????,...????
?? \\computername id/DELETE|/DELETE/Yes
????? ???? ?? ??? ????? ?? ???? ??? ?? ?????????? ?? ????? ???? ????????:
  • \\computername: ???? ?????? ???????? ?? ????????? ???? ?? ??? ?? ???????? ?? ????? ????? ??? ?? ?? ???????? ?? ?? ?????, ??????? ?? ??????? ???????? ?? ????? ?? ??? ??????? ???? ????
  • ???:: ?? ????? ?? ????? ?? ??? ?? ??? ????????? ???? ?? ??? ?? ???????? ?? ????? ????? ??? ?? ??? ??? ????????? ??????:????24-???? ???? ?? ?????? ??? ?????? ?? ???, 0: 00 midnight ?? ???????????? ???? ?? ?? 20: 30 8: 30 P.M. ?? ???????????? ???? ??
  • ?????? /: ????? ???? ??? ?? ??? ?? ?? ?? ?????????? ?? ???????? ?? ??? ???????? ???? ?? ??? ????? ???? ?? ??? ?? ???????? ?? ????? ?????
  • / ?????:??????,...: ?? ???????? ????????? ??? ?? ???, ?? ?????? ?? ??? ?? ?????? ?? ??? ????? ?? ??? ????? ?? ??????? ???? ?? ???, ???????? ???????? ?? eighth ??? ???????? ????? ?? ????? ????? ????????? ???????????????? ?? ?? ?? ?? ?? ???? ????? ?? ??? ??? (????? abbreviations ?? ????? ????: M, T, W, Th, F, S, Su) ?? ?? ?? ???? ??? ?? ????? (????? ?????? 1 ?? 31)? ????????? ???? ?? ?????? ??? ?????? ???????????? ???? ???? ?? ??? ????????? ?????? ??? ?? ?? ???????? ?? ?? ?????, ????? ?? ??????? ??? ????? ?? ??? ??????? ???
  • ???? /:??????,...: (?????? ?? ???, ???? ??????) ??? ?? ???? ??????????? ?? ????? ?? ??? ????? ?? ??????? ???? ?? ??? ?? ???????? ?? ????? ????? ????????? ???????????????? ?? ?? ?? ?? ?? ???? ????? ?? ??? ??? (????? abbreviations ?? ????? ????: M, T, W, Th, F, S, Su) ?? ?? ?? ???? ??? ?? ????? (????? ?????? 1 ?? 31)? ????????? ???? ?? ?????? ??? ?????? ???????????? ???? ???? ?? ??? ????????? ?????? ??? ?? ?? ???????? ?? ?? ?????, ????? ?? ??????? ??? ????? ?? ??? ??????? ???
  • ????: ?? ???????? ?? ????? Windows 2000 ???? ????????? ???? ?? ??? ????????? (. exe ?? .com ?????), ?? ??? (.bat ?? .cmd ?????) ?? ????????? ?? ????? ????? ???? ??? ?? ???? ?? ???? ?? ??? ??? ??? ?? ?? ???????? ??, ????? ?? ??? (???? ?? ???? ?????? ????? ?? ???) ?? ????? ????? ???? ???? ?????? ???????? ?? ??, ??? ?????????? ?????? ???????? (UNC) ?? ??? ?? ????? ???? (\\Servername\ShareName). ???? ???? ???????? ????? (. exe) ????? ???? ??, ??? ?? ???? ?? ??? ???? ???? ????cmd /c?????? ?? ???:cmd /c C:\*.* C:\temp ?????????.
  • ID: ??????? ??? ?? ????? ???? ?? ??? ????? ???? ??? ?? ?? ????? ?????? ?? ????????? ???? ?? ??? ?? ???????? ?? ????? ?????
  • /DELETE: ??????? ??? ?? ????? ?? ???? ???? ?? ??? ?? ???????? ?? ????? ????? ?? ??? ?? ???ID????????, ??????? ??? ?? ??? ???????? ?? ????? ???? ?? ??? ????
  • /Yes: ??????? ??? ?? ????? ???? ???? ?? ?????? ?? ??? ??????? ???? ?? ??? ??? ????? ???? ?? ????? ???? ?? ??? ?? ???????? ?? ????? ????? ??? ?? ?? ???????? ?? ?? ?????, ?? ????? ?? ???????? ?? ?????? ???? ?? ??? ????? ????? ???
???:?? ?? ????? ??????????, ??????? ??? ?? ????? ?? ?????? ???? ?? ????????????? ?? ????? ?? ????? ???? ???

???? ????????? ????? ????? ?? ??? ???? ????

  1. ????? ????,????????? ????? ????,????????????? ????? ????,????? ??????? ????-????? ????, ?? ???? ???????? ?????????.
  2. ????? ????????? ?? ????? ?????? ???? ????, ?? ??????? ??? ???? ?? ??? ?? ?? ???? ????????? ???? ?? ??? ENTER ?????:
    ??? ???????
    ??? ????? ???????? ?? ???? ??? ????????? ???? ???? ???? ??, ?? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    ??? ??????? "????? scheduler"
  3. ????? ????????? ?? ????? ?????? (???????? ??? ?? ???? ????????? ??? ??????? ?????) ?? ???? ????, ?? ???? ??? ENTER ?????:
    ?? \\computername ????????? /|/ ?????:??????,...???? /:??????,...????

??????

  • ????????? ????? ?? ??? ??? ??????? ?? ????????? ??????? ?? MyDocs ??????? ?? ??? midnight ??, ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    00: 00 cmd /c ?? C:\Documents\*.* C:\MyDocs ?? ????????? ?????
  • 11: 00 P.M. ???????? ????? ???? ?? ?????? ?????, ?? ????? ?? ??? ?? ??? ????? ????? ???? (?????? ?? ???, Backup.bat) ???, ????? ?????? ???? ????, ?? ????? ??????? ???? ?? ??? ENTER ?????:
    ?? \\products 23: 00 / ????????: M, T, W, Th, F ?????
  • ??????? ???? ?? ??? ?????? ???????? 6: 00 A.M. ?? ?????? ????? ?? ????? ?? ??????? ?? Sales.txt ????? ???? ??????? ??????? ??? corp ????? ?? ?????????????? ???? ?? ??? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    \\sales 06: 00 cmd /c ?? "???? ??????? net = d:\Documents\reports >> \\corp\reports\sales.txt"

???? ????????? ????? ?? ???? ???? ????

  1. ????? ????,????????? ????? ????,????????????? ????? ????,????? ??????? ????-????? ????, ?? ???? ???????? ?????????.
  2. ????? ????????? ?? ????? ?????? ???? ????, ?? ??????? ??? ???? ?? ??? ?? ?? ???? ????????? ???? ?? ??? ENTER ?????:
    ??? ???????
    ??? ????? ???????? ?? ???? ??? ????????? ???? ???? ???? ??, ?? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    ??? ??????? "????? scheduler"
  3. ????? ????????? ?? ????? ?????? (???????? ??? ?? ???? ????????? ??? ??????? ?????) ?? ???? ????, ?? ???? ??? ENTER ?????:
    ?? \\computername id/DELETE|/DELETE/Yes

??????

  • ??????? ???????? ?? ??????? ??? ?? ??? ????? ?? ???? ???? ?? ??? ?????/delete ?????? ????, ?? ???? ??? ENTER ?????..
  • "MyServer" ??? ???? ???????? ?? ????? ID 8 ?? ???? ???? ?? ??? ?????8 \\MyServer /delete ?????? ????, ?? ???? ??? ENTER ?????..

????? ?? ??? ???? ????? ?????????

?? ????? ???? ???? ?? ??????? ?? ????? ?? ????????? ?? ???, ????? ????? ?? ???? ????:
  1. ????? ????,????????? ????? ????,????????????? ????? ????,????? ??????? ????-????? ????, ?? ???? ???????? ?????????.
  2. ????? ????????? ?? ????? ?????? ???? ????, ?? ??????? ??? ???? ?? ??? ?? ?? ???? ????????? ???? ?? ??? ENTER ?????:
    ??? ???????
    ??? ????? ???????? ?? ???? ??? ????????? ???? ???? ???? ??, ?? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
    ??? ??????? "????? scheduler"
  3. ????? ????????? ?? ????? ????? ?? ???? ???? ?? ??? ?? ?????:
    • ??????? ?? ????? ???? ??? ??????? ?? ???? ????? ?? ?????????, ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
      ?? \\computername
      -??-

    • ???? ??????? ??????? ??? ?? ????? ?? ????? ?? ??? ????? ?????? ???? ????, ?? ???? ??? ENTER ?????:
      ?? \\computername id

??????

  • ??????? ???????? ?? ??? ??????? ??? ?? ??????? ?? ????? ?? ??? ??????????? ????, ?? ???? ??? ENTER ?????..
  • "??????" ??? ???? ???????? ?? ??? ??????? ??? ?? ??????? ?? ????? ?? ??? ?????\\support ?????? ????, ?? ???? ??? ENTER ?????..
  • ??????? ???????? ?? ????? ID 18 ?? ????? ?? ??? ?????18 ?????? ????, ?? ???? ??? ENTER ?????..

?????? ??????

  • ?? ?? ???????\\computername????????? ?????, ??? (?? ???) ?? ????? ???? ???? ?? ??????? ??? ?? ??????? ?? ???? ????? ?? ????????? ???????? ???? ????

    ?? ??????? ?? ???? ?? ??? ?? ????? ???? ?? ??? ????? ????????? ????? ?????? ??? ??????? ??????????? ????? ?? ??? ???? ??? ?? ?? ????? ????????? ?????, ????? ?? ??????? ???? ?? ??? ???? ????????? ????? ?????? ??? ???????? ???? ??? ????????? ???? ???? ??? ?? ????? ?? ????? ?? ??????? ?? ???? ???? ???????, ??? ?? ??????? ????? ?? ????? ???? ?????????, ????? ?? ??? ???? ?? ?????

    ?? ??????? ?? ????? ??? ???? ?? ??? ????? ?? ???????? ???? ??? ????????? ????? ?????? ??? ????? ?? ??????? ??????? ??????? ?? ???? ??? ???????? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
    220149AT Tasks Cannot Be Viewed Using the Task Scheduler Tool
  • ?? ?? ????? ??????command to schedule a task, the task does not run at the specified time or date.

    This behavior can occur if one of the following conditions are true:
    • The command syntax is incorrect.

      After you schedule a task, type??\\computernameto confirm that the syntax is correct. If the information that is displayed underCommand Lineis incorrect, cancel the task, and then recreate it.

      -??-
    • You schedule a task to run a command that is not an .exe file.

      The?????? ???????? ??? ?? ??? ????cmd(???? ??????????) ???? ?? ???? ?? ???? ????? ??? ?? ????. exe ????? ?? ??? ??? ???, ?? ?? ?? ?? ?????? ??? ???? ?? ?????? ??? Cmd.exe ?????? ?? ???,?? cmd /c dir > c:\test.txt.
AT ??????? ?? ?????? ?????? ?? ???? ??? ???????? ??????? ?? ??? ?????? ?? Microsoft ???????? ??? ????? ?? ??? ????? ???? ???????? ?? ????? ????:
142040/K ????? ?? ????? AT ??????? ?? ?????? ??????
121562????????? ?? Are ???? ?????? ?? ??? ??????? ????



??????

Windows 2000 ??? AT ??????? ?? ????? ???? ???? ?? ???? ??? ???????? ??????? ?? ??? Windows 2000 ??? ?????? ??? ???? ?? ???, ????? ???????????????? ????,???, ????? ?????????????????? ?? ???? ??? ?????????? ??.

Windows 2000 ??? AT ??????? ?? ??? ??? ???? ?? ???? ??? ???????? ??????? ?? ??? Microsoft ???????? ??? ???? ????? ?? ??? ????? ???? ?????? ?? ????? ????:
103650??????? ??????? AT ??????? ?? ??? ???? ??????? ????

???

???? ID: 313565 - ????? ???????: 04 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Small Business Server 2000 Standard Edition
??????: 
kbhowtomaster kbmt KB313565 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:313565

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com