1 / 37

PRESENTED TO: SIR AHMED KARIM PRESENTED BY:

PRESENTED TO: SIR AHMED KARIM PRESENTED BY: MUHAMMAD FAISAL RAO Malik Shabaz Asif BIT-07-49 Department Of Information Technology Institute Of Computing

Télécharger la présentation

PRESENTED TO: SIR AHMED KARIM PRESENTED BY:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PRESENTED TO: SIR AHMED KARIM PRESENTED BY: MUHAMMAD FAISAL RAO MalikShabaz Asif BIT-07-49 Department Of Information Technology Institute Of Computing B.Z.U Multan

  2. Scheduled Tasks

  3. Introduction • Scheduled Tasks is a task scheduler that’s installed with Windows Server 2003. • You can use it to launch applications and utilities on a schedule you devise. • The best use of Scheduled Tasks is to make sure maintenance tools run regularly. • The tasks you create are files (with the extension .job) that can be exchanged via e-mail, or copied to remote computers, permitting you to create and run scheduled tasks on other computers.

  4. Introduction The .job task files are located in %System Root%\Tasks. You can launch this utility from Control Panel. The Scheduled Tasks window opens to display an icon named Add Scheduled Task, along with icons for any existing tasks. Be sure the date and time of the computer are correct when you’re running scheduled tasks.

  5. Scheduled Tasks Execution File The utility runs as a DLL launched by explorer.exe, with the path statement: %System Root%\explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC20203AEA-1069-A2DD-08002B30 309D}\::{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

  6. where: • {20D04FE0-3AEA-1069-A2D8-08002B30309D} is a CLSID for My Computer objects. • {21EC2020-3AEA-1069-A2DD-08002B30309D} is a CLSID for Control Panel objects. • {D6277990-4C6A-11CF-8D87-00AA0060F5BF} is a CLSID for a variety of icons and objects referencing mstask.dll.

  7. Use the Scheduled Task Wizard Open the Add Scheduled Task icon to launch the wizard, and click Next to move past the welcome window. The wizard presents a list of the application files on your computer

  8. Create a Scheduled Task Manually • If you want to leap right to the Properties dialog to configure your task, instead of stepping through the wizard, use one of these methods to create a new task:

  9. Procedure • Choose File | New | Scheduled Task in the Scheduled Tasks window. • Right-click a blank spot in the Scheduled Tasks window and choose New |Scheduled Task from the shortcut menu. • A new icon appears in the window, titled New Task. The title is in Edit mode so that you can enter a name for the new task. After you name the task, right-click its icon and choose Properties from the shortcut menu to open the task’s Properties dialog.

  10. Modify or Delete Scheduled Tasks • To change the properties of any task, open the Scheduled Tasks window and then open the task. Move to the appropriate tab of the Properties dialog and make the needed changes. To delete a scheduled task, select it and choose your favorite method for deleting: • Press the DEL key. • Click the Delete icon on the toolbar. • Right-click the task and choose Delete from the shortcut menu. • Choose Delete from the File menu. Deleted tasks are sent to the Recycle Bin. If you don’t want a task to run, but you think you might need it in the future, instead of deleting it, disable it. To do that, clear the Enabled check box on the Task tab of the task’s Properties dialog.

  11. Run and Stop Scheduled Tasks • You can run any task at any time if you don’t want to wait for the next scheduled occurrence. • In the Scheduled Tasks window, select the task and choose File | Run, or right-click the task and choose Run from the shortcut menu. • If a task is running and you want to stop it, open the Scheduled Tasks window, rightclick the task’s object, and choose End Task from the shortcut menu. It may take a moment or two for the message to reach the task.

  12. Check the Status of Scheduled Tasks • You can gain information about the status of a task by changing the view of the Scheduled • Tasks window to the Details view. The columns provide information about each task.

  13. Set Global Options for Scheduled Tasks • The Advanced menu in the Scheduled Tasks window offers options for manipulating the way scheduled tasks operate:

  14. Stop Using Task Scheduler • Selecting this command disables any scheduled tasks until you return to the Advanced menu and select Start Using Task Scheduler. • In addition, the Task Scheduler will not automatically run the next time you start Windows Server 2003 unless you’ve restarted it before rebooting.

  15. Pause Task Scheduler • Use this command to temporarily halt running tasks and prevent scheduled tasks from starting. • This command is useful for stopping tasks while you install software. • To resume scheduled tasks, select Continue Task Scheduler from the Advanced menu. • Any tasks scheduled to run during the time you paused the Task Scheduler will not run until their next scheduled times.

  16. Notify Me of Missed Tasks • This command does not mean what it says. It does not notify you of missed tasks; it only notifies you about a failure of the Schedule Task service itself. Tasks that fail to run due to corrupt or missing executables don’t kick off a notification.

  17. AT Service Account • Use this command to change the user account that runs tasks that are scheduled with the AT command (the default account is System). Selecting the command opens the AT Service Account Configuration dialog, where you can select a user account (and enter and confirm the password for that account). This is almost never a good idea; you should usually let the System account run tasks.

  18. View Log • Select this command to open the task log in Notepad, where you can track the success or failure of your scheduled tasks.

  19. Create a Scheduled Task Manually • If you want to leap right to the Properties dialog to configure your task, instead of stepping • through the wizard, use one of these methods to create a new task

  20. Choose File | New | Scheduled Task in the Scheduled Tasks window. • Right-click a blank spot in the Scheduled Tasks window choose New |Scheduled task from the shortcut menu.

  21. A new icon appears in the window, titled New Task. The title is in Edit mode so that you can enter a name for the new task. After you name the task, right-click its icon • and choose Properties from the shortcut menu to open the task’s Properties dialog

  22. Schedule Tab • The Schedule tab is the place to specify the frequency for the schedule, • but there’s a difference between the options presented in the wizard and • Those presented in the Properties dialog.

  23. The difference is a missing ingredient. The wizard offers a Weekdays • option when you select Daily; the Properties dialog doesn’t. If you want to run this task • only on weekdays, you must select Weekly and then click the five business days of the week to create your workweek

  24. You can narrow or broaden the schedule configuration by clicking Advanced, and • choosing the appropriate options

  25. Settings Tab • The Settings tab offers options that let you control the way the task operates under certain system conditions

  26. Delete the task if it is not scheduled to run again. This applies to tasks that have • an end date (including tasks that are run once, of course). The job, along with its • file, is removed after the last automatic occurrence. Don’t select this option if this • task might be reincarnated periodically

  27. Stop the task if it runs for: specified time. Enter the duration of time you’ll • permit for this task to complete its job (the default is 72 hours, which is • ridiculous). This option is useful for time-consuming tasks that you configure • for middle-of-the-night operations and you want to make sure they’re not • running when the business day begins

  28. Security Tab • The Security tab for scheduled tasks is back! If you’re moving to Windows Server 2003 • From Windows NT 4, you didn’t know that it went missing but Windows 2000 eliminated

  29. Modify or Delete Scheduled Tasks • To delete a scheduled task, select it and choose your favorite method for deleting: • Press the DEL key. • Click the Delete icon on the toolbar. • Right-click the task and choose Delete from the shortcut menu. • Choose Delete from the File menu. • Deleted tasks are sent to the Recycle Bin.

  30. think you might need it in the future, instead of deleting it, disable it. To do that, clear • the Enabled check box on the Task tab of the task’s Properties dialog

  31. Any Questions…?

More Related