Click here to Skip to main content
15,884,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to create an application that need to get opened/runned automatically after every 5 mins..
Posted

Couple of ways can be using Windows Scheduler or Windows Service which can be scheduled to run every 5 mins.
 
Share this answer
 
Comments
Abhisar Garg 15-Jan-14 1:54am    
Ya i know that but how to do that... I want the full application to get started as a new application...
JoCodes 15-Jan-14 1:58am    
Yes , using Windows scheduler or Service it will Start/Invoke your application . Also , May be you can create a Console Applc which loads the windows app and add a scheduler to call exe of the console app.
Abhisar Garg 15-Jan-14 3:51am    
any example plz
 
Share this answer
 
Comments
Abhisar Garg 15-Jan-14 1:55am    
hey, I want the full application to get started as a new application... not the events in the appplication to run at regular interval...
Gitanjali Singh 15-Jan-14 2:01am    
Refer:http://www.aspdotnet-suresh.com/2011/06/creating-windows-service-in-c-or.html
Abhisar Garg 15-Jan-14 2:05am    
hmmm... let me check for it.. thanks...
Gitanjali Singh 15-Jan-14 2:13am    
Yes, let me know if it works.
Abhisar Garg 15-Jan-14 4:26am    
ya... windows service is working... and it creates a log of time at which the entry is been made... now as it is creating a log of everytime it is running... now i want some particular code thats need to be executed ( like some windows forms application or web application)... what should I change in it???
I tried a lot but I am not able to do so... please help me out...

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