Closing a web page automatically
<p>I've a web app wherein i need to run a some code for sending email messages everyday. I've put the code inside a web page. I was hoping to open this webpage using a batch file (and scheduling to run it everyday using windows task scheduler) and then automatically closing it once the task is done. How can i close the website automatically after the task is complete. ? 
This is my first web app so please be merciful .</p>
