By Archana N on Oct 11, 2016 7:23:17 AM
The Task Scheduler has a wide variety of uses such as automatically triggering job schedule, sending email notifications to the appropriate users etc. Scheduling tasks ensures that the productivity and optimum management. Manual scheduling consumes a whole lot of time and resources.
Scheduling a task by either creating a basic task using the ‘Create Basic Task’ or by creating a task using the ‘Create Task’ wizard screen.
Creating a Task
Here, we create the task by selecting the ‘Create Task’. To start, open the Task Scheduler, click the Create Task link at the right side of the Task Scheduler window screen. This link opens an easy-to-use wizard screen and will walk through the process of creating a task. If more advanced options are required click Create Task instead.
Specify a name and description for the task. This will help to remember what the task does later.
Select -trigger and opt the “Daily” option. The task runs daily, weekly, monthly, or only once. In addition, we can setup the task run when the computer starts or when the user logs on and can also have the task start in response to an event ID in the Windows event log history.
If you selected daily, weekly, monthly, or one time, you’ll be prompted to specify a specific time for the event to occur. In the below screen-shot, we have selected the ‘Daily’ option. The job will get start every day 7 AM at every 15 minutes for the duration of 17 hours. Means the job will start by 7 AM and it will end-up at 12 AM (7+17=24 hours).
Then, in the below screen we can opt any of the option like start a program, send an email, or display a message in response to the trigger you specific earlier.
To run a program, paste the required files under C:drive. Click the Browse button and locate the placed .exe/.bat/.ps file. In Start in (optional) paste the .bat file path only. By clicking ‘Next’ it will launch the task automatically at the scheduled time.
Now we are almost done – Windows will display the details of the task we have created. Click the Finish button and the task will be created. To modify further Advanced Settings enable the option “Open the Properties dialog for this task when I click Finish”.
This is one time implementation and no further maintenance is required. It reduces manual effort and based on the result it triggers email notifications to the respective users.