Sir,
i have developed a web page.
but the problem is that i need to create such a procedure or function that will insert data in database at regular interval, say every 15 minutes that will only be execute on server side so that we will have data for analysis or monitor purpose for further analysis.
Kindly request you to help me as we have not found any satisfactory answer on internet as well.
Thank You..
Regards,
Vishal Agrawal
Pankaj Kumar ChoudharyPosted May 16, 2015, 1:05 PM
void Call()
{
System.Timers.Timer aTimer = new System.Timers.Timer();
aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
aTimer.Interval = 900000;
aTimer.Enabled = true;
}
private static void OnTimedEvent(object source, ElapsedEventArgs e)
{
// Here you can write your Code
}