スケジュール サービス コマンド ライン インターフェイス
at
- C:\Windows\system32\at.exe /?
Output:
この AT コマンドは廃止されました。代わりに schtasks.exe を使用してください。
AT コマンドは、指定された日時にコマンドとプログラムがコンピューターで
実行されるようにスケジュールします。AT コマンドを使用するには、
Schedule サービスが実行中でなければなりません。
AT [\\コンピューター名] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\コンピューター名] 時刻 [/INTERACTIVE]
[ /EVERY:日付[,...] | /NEXT:日付[,...]] "コマンド"
\\コンピューター名 リモート コンピューターを指定します。このパラメーターを
省略したときは、ローカル コンピューターでコマンドが
スケジュールされます。
id スケジュールされたコマンドに割り当てられた識別番号です。
/delete スケジュールされたコマンドを取り消します。
id を指定しなかったときは、コンピューターでスケジュール
されているすべてのコマンドが取り消されます。
/yes 確認せずにすべてのジョブ コマンドを取り消すときに
使用します。
時刻 コマンドが実行される時刻を指定します。
/interactive ジョブの実行中、ジョブはログオンしているユーザーの
デスクトップとの対話を許可します。
/every:日付[,...] 毎週指定した曜日に、または毎月指定した日にコマンドが
実行されます。
日付を省略したときは、その月の今日の日付が使用されます。
/next:日付[,...] 指定したコマンドが次の日付 (たとえば、次の火曜日) に
実行されます。日付を省略したときは、その月の今日の日付が
使用されます。
"コマンド" 実行する Windows NT コマンド、またはバッチ プログラム
です。
The AT command has been deprecated. Please use schtasks.exe instead.
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.
AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"
\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.
Return Code: 0
C:\Windows\system32\at.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 31232bytes |
| Creation Time | 2019/12/07 18:09:00 |
| LastWrite Time | 2019/12/07 18:09:00 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 15fe2283b40819234c9909e841ebca0a |
| SHA1 | b376962ab87262a0c2fe5231688b49bdb080583a |
| SHA224 | 905c0dfe352275c2def04f0a921480f4a1fba160e5fd8562135b74a4 |
| SHA256 | 5b97c39d87ad627c53023bfebb0ea1b5227c3f4e86e3bf06b23f3e4b0d6726e2 |
| SHA384 | 9dfa89d110bcf3e3209bc87a6abef0d5591ddae2eec89f4845272b359ecc136e20ca3104eff6ebb9cfd83ba83f574e32 |
| SHA512 | 5dcd2e486239f626f4e2ac9ad63675be5b3e4f47cf4bb836cbaff420724ecb32e70e51d14fc0c7ed7e81d6a9c209f9c2d4c57919926d4b5666591ac00d2b877d |