Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a web application that allows the user to see a project details and to change the project status (there are 5 status options).
I need to create a scheduler that will run every day and check this condition:
if no one changed the project status for the last 3 months, send email to x,y,z.
I know what code to use to check the status and send emails with vb.net, but I have no idea how to do it in a way that it will open by itself automaticaly (with a scheduler I guess), every day at the same time and will send the emails if the condition above applies..

can you help??

thanx!
Posted

Why don't you use the Windows Task Scheduler[^] for the purpose?
 
Share this answer
 
Comments
danait25 19-Apr-12 8:12am    
Hi,
I don't know what that is.. I saw your link- I'll try to figure it out. thanx
Thats better to use window service .

Set your desire timmings your Service.

Window service run automaically when ever you start your computer .
for more search on google.
 
Share this answer
 
Comments
danait25 24-Apr-12 1:45am    
I need it to run only once a month - but thanks
I would create a simple console application doing the work, and use the Windows task Scheduler to schedule its execution.
 
Share this answer
 
Comments
phil.o 19-Apr-12 7:54am    
May I know why this has been downvoted ?
danait25 19-Apr-12 8:14am    
Hi,
have no idea about the downvote..

about your answer- as I wrote to CPallini ,I don't know how to use it.. but now I know where to start.. thanx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900