Run a timer of a interval of 59 seconds. When the interval has gone, it writes a line in console with the current datetime, can look like this :
That way, it checks if the time is what it should be , and if it is, it does an funcion. So tell me people,would this work?Quote:
if (MainTimer_Elapsed)
{
Console.WriteLine(DateTime.Now);
string Time = Console.ReadLine();
if (Time == "2008-xx-xx xx:xx:xx)
{
General.StartDisCity();
}
}
Peace