Synchronize your computers via NTP (> Windows 2000) or SNTP (<= Windows 2000) using the
Windows Time Service[
^]. The server could add scheduled jobs on all clients to start at a specified time and run once as they'll be rescheduled by the server when appropriate.
Beware though: "However, the Windows Time Service cannot maintain the system time more accurately than about a 1-2 second range" (
Wiki Reference[
^]).
So if
"at the same time" means that a difference of 1-2 seconds is OK by your requirements, this might be a viable solution. For a great tool to setup, run, delete tasks on remote machines use CodeProjects own
TaskScheduler Library[
^] written by
Dennis Austin[
^].
David Hall's[
^]
TaskScheduler Library on CodePlex[
^] is also worth a look.
I hope this will help you. It should be no problem as long as the accuracy of Windows Time Service synchroization is good enough for your application.
Best Regards and happy coding,
-MRB