Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Actually i am having one .exe file for my messages. now i want to generate the messages for every one minute is it possible..
Posted
Comments
Sergey Alexandrovich Kryukov 21-May-13 1:24am    
Quite a bad idea. Why?
—SA
ntitish 21-May-13 1:33am    
sir actually in my message details table i am selecting all unread messages and sending notifications to the user mobile. for that i want to select all unread messages for every 1 min and sending notifications

This is hardly related to ASP.NET, which works exclusively on HTTP requests from the clients.

You can use Windows Task Sheduler. Please see my past answer: Windows Services - problem with operating system[^].

—SA
 
Share this answer
 
If you have an exe that does this for you already, simply run a timer job on your server to execute that exe file as required.
 
Share this answer
 
Comments
ntitish 21-May-13 1:50am    
how to do that sir...
_Damian S_ 21-May-13 1:55am    
How to do what? Do you have an exe that selects the messages and sends them to the user mobile? If so, simply schedule a task in your server to fire off the exe file on the schedule you desire. Google "scheduling a task in " + your version of windows.
ntitish 21-May-13 4:34am    
ok....i will try.
Control panel->administrative tools->task scheduler->After clicking on task scheduler one new window will open in that right side of the window we can see->Create basic task and according to that properties,.
 
Share this answer
 

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