Scheduled Tasks and the At command

In earlier versions of Windows, you used the at command to schedule a command, script, or program to run at a specified date and time. In Windows XP, the at command works with a graphical utility called Scheduled Tasks to provide additional functionality.

You can use the new capabilities of Scheduled Tasks through the Scheduled Tasks folder. When you schedule a task using the at command, the task is listed in the Scheduled Tasks folder, with a name such as the following:

At3478

You can then view or modify the task. However, if you modify it, it will be upgraded to a normal scheduled task. The task will no longer be visible to the at command, and the at account setting will no longer apply. You need to explicitly enter a user account and password for the task.

All tasks created through the at command must run in the same user account, as in earlier versions of Windows. However, each task created from the Scheduled Tasks folder can run in a different account.

In earlier versions of Windows, the account for tasks created by the at command was the same as the account for the Schedule service (which was also known as the "at service"). You could configure this account to be the local system account or any user account.

In Windows XP, the Schedule service must run in the local system account. However, you can set an account other than the local system account for tasks created by the at command to run in. Use the Advanced menu in the Scheduled Tasks folder.

You can use the Scheduled Tasks folder to view or modify the settings of a task that was created by using the at command. However, if you modify a task created by the at command through the scheduled tasks folder, it is upgraded to a normal scheduled task. The task will no longer be visible to the at command, and the account setting created by the at command will no longer apply to it. You need to explicitly enter a user account and password for the task.

At

Set the AT service account



© 2014 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies