|
Each command is given a job number or "task ID", starting at 1. All unfinished or repeating jobs are reloaded at boot time, though not necessarily with the same job numbers. When there are no jobs left, the next job added is assigned 1 again; otherwise, all previously-assigned job numbers are skipped (even if the most recent has been deleted). Scheduled tasks are not run if the computer is turned off at the time, or is in sleep mode or hibernate mode. The Scheduler service must also be running. Unix-like operating systems also have
UsageBy itself, To shut down a computer at 10:00 in the evening: at 10p shutdown -s The above example will cause shutdown.exe to shut down the computer the next time the computer's clock reads 10pm. Synonyms for this time are 10:00p or 22:00; however 10 or 22 will not work. (Note that shutdown.exe is in one of the folders (normally C:\Windows\System32) listed in the %PATH% environment variable. Other commands will require the full file path.) Commands can also be scheduled on other computers on a local-area network, using a remote procedure call (RPC). However, the user must be an administrator, have permission on the other machine, and the user account on both machines must have a password (RPC will refuse if passwords are blank). The UNC computer name is placed immediately after at \\otherdesk 10p shutdown -s The shutdown command is then scheduled on the remote computer named "otherdesk" (not locally), and will show in its list of jobs. A remote computer's jobs can also be checked as follows: at \\otherdesk FlagsSeveral flags greatly expand the usefulness of The at 10p /every:m,t,w,th,f shutdown -s at 7p /every:s,su shutdown -s The above commands will shut down the computer at 10:00 (22:00) every weekday evening, and at 7:00 (19:00) every weekend evening. Similarly, the The The ReplacementIn Windows XP, the See alsoReferences
|
|||||||||||||||||||||||||||||||||||||||||||||
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net