How do I write a Alert which will run at 00:00, 00:15, 00:30, and so on every day?
Can you give me an example code?
Thank you.
You can use a timer that runs every minute that checks the current time. The check can look like:
private void OnTimerTick()
{
if(DateTime.Now.Minutes%15==0)
{
//Do something
}
}
But if you are looking for a program or service that has to be run every 15 minutes you can just write your application and have it started using a windows planned task.