I'm trying to run a function every day at 11:30.
private void timer1_Tick(object sender, EventArgs e)
{
timer1.Interval = 1000;
if (DateTime.Now.Hour == 11 && DateTime.Now.Minute == 30)
{
run_dtsx(path, false);
}
}
The function is not running, and I can't figure out why.