Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
At (command)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Windows and ReactOS=== In addition to the [[graphical user interface]] for [[Windows Task Scheduler]] in [[Control Panel (Windows)|Control Panel]], Windows provides an <code>at</code> shell command that schedules operations to run at a specified time and date (similar to <code>[[cron]]</code>). It is available since [[Windows NT]], but is now deprecated in favor of <code>[[Windows Task Scheduler|schtasks]]</code>. It can only be used when the [[Windows service|Schedule service]] is running. When used without parameters, <code>at</code> lists scheduled commands.<ref>{{cite web|title=At|url=https://technet.microsoft.com/en-us/library/bb490866.aspx|work=[[Microsoft TechNet]]|publisher=[[Microsoft]]|access-date=18 May 2014}}</ref> <code>at</code> cannot access tasks created or modified by Control Panel or <code>schtasks.exe</code>.<ref>{{Cite web|url = http://support.microsoft.com/kb/313565|title = How To Use the AT Command to Schedule Tasks|date = 30 October 2006|website = Support|publisher = [[Microsoft]]}}</ref> Also, tasks created with <code>at</code> are not interactive by default; interactivity needs to be explicitly requested.<ref>{{Cite web|url = http://support.microsoft.com/kb/121562/EN-US|title = Applications Started with AT Are Not Interactive|date = 20 February 2007|website = Support|publisher = [[Microsoft]]|url-status=dead|archive-url=https://web.archive.org/web/20041029024318/http://support.microsoft.com/kb/121562/EN-US/|archive-date=October 29, 2004}}</ref> The [[ReactOS]] implementation is based on the Windows implementation. It was developed by Eric Kohl and is licensed under the [[GPLv2]].<ref name="reactos" /> ====Examples==== To use <code>at</code>, the user must be a member of the local Administrators group. The command-syntax is: <pre>at [\\ComputerName] [{[ID] [/delete]|/delete [/yes]}]</pre> <pre>at [[\\ComputerName] hours:minutes [/interactive] [{/every:date[,...]|/next:date[,...]}] command]</pre> ; <code>\\ ComputerName</code> : This parameter specifies a remote computer. If it is omitted, at schedules the commands and programs on the local computer. ; <code>ID</code> : This parameter specifies the identification number assigned to a scheduled command. ; <code>/delete</code> : This parameter cancels a scheduled command. If ID is omitted, all of the scheduled commands on the computer are canceled. ; <code>/yes</code> : This parameter answers yes to all queries from the system when you delete scheduled events. ; <code>hours : minutes</code> : This parameter specifies the time when to run the command. ; <code>/interactive</code> : This parameter allows the given command to interact with the desktop of the user who is logged on at the time command runs. ; <code>/every:</code> : This parameter runs the given command on every specified day or days of the week or month. ; <code>date</code> : This parameter specifies the date when to run the given command. One or more days of the week can be specified. If date is omitted, at uses the current day of the month. ; <code>/next:</code> : This parameter runs command on the next occurrence of the day. ; <code>command</code> : This parameter specifies the Windows command, program (that is, .exe or .com file), or batch program (that is, .bat or .cmd file) that will be run. ; <code>/?</code> : Displays help for the command.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)