Wednesday, March 19, 2014

How to use windows task scheduler to send email

    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.

    1. Start -> type Task Scheduler
    2. Select Create Task
    3. Give a task name(Should be unique)





    1. Click on Triggers tab
    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.



    1. After that you need to specify the created .bat file's path location in the Action tab as mentioned in below.



    1. In the condition tab:



    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.

    1. In Settings tab do the following.



    1. Now click OK button. Now your windows task will be run on scheduled time.

No comments:

Post a Comment