- Start -> type Task Scheduler
- Select Create Task
- Give a task name(Should be unique)
- Click on Triggers tab
- After that you need to specify the created .bat file's path location in the Action tab as mentioned in below.
- In the condition tab:
- In Settings tab do the following.
- Now click OK button. Now your windows task will be run on scheduled time.
In here, I'm trying
to send a mail as a scheduled task. Now my mail function is work 100%
correctly ( See project A). In here you have to follow few steps.
In
here you have to add two triggers. First one as a schedule and second one as a
system start up one.
Click
on "New" button and add the following information in the New Trigger
window.
Trigger
1
Trigger
2
Finally
you can see the created list of triggers.
Note : if you are
using a lap top make sure to deselect the 2 Power options. Otherwise the task
may not run until the power cable is connecting.
No comments:
Post a Comment