Your technology certification is waiting. Enroll in Cloud Class ®
private Dictionary<System.Timers.Timer, string> Schedule = new Dictionary<System.Timers.Timer, string>();
private void ScheduleExe(DateTime LaunchAt, string FullPathToExe)
TimeSpan ts = LaunchAt.Subtract(DateTime.Now);
if (ts.TotalMilliseconds > 0)
System.Timers.Timer timer = new System.Timers.Timer(ts.TotalMilliseconds);
timer.AutoReset = false;
timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Elapsed);
void timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
System.Timers.Timer timer = (System.Timers.Timer)sender;
string FullPathToExe = Schedule[timer];
Open in new window
Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.