Hi,
public void SendSmsNotification(object source, System.Timers.ElapsedEventArgs e)
{
// Call the send sms method.
SendSms.sendsmsto("xxxxxxxxx","xxxxxx");
// Runs at every dat 12 AM.
}
System.Timers.Timer timer1 = new System.Timers.Timer();
timer1.Interval = ((1*60)*(60) * 1000);
timer1.AutoReset = true;
timer1.Elapsed += new System.Timers.ElapsedEventHandler(SendSmsNotification);
timer1.Enabled = true;
above code i used in global.asax file
my requirement is that for 1 min i need to call send sms method 1 time only but here it's calling continouesely
can you please help me