Welcome! and rules
Joel on Software
Creating scheduled tasks with C#?
I'm just starting with C# and would like to copy an executable or script to a remote computer and schedule it to execute at a specific time...
Take a look at WinAT (GUI for the AT utility). Basically Windows' version of the CRON utility in *nix. Schedule any executable or script to run at any scheduled time/interval.
Win32's NetScheduleJobAdd() ?
What about a windows service with a timer?
Copy your executable stuff to the target computer, then run schtasks.exe to create a scheduled task in the Windows Task Scheduler. schtasks.exe ships with WinXP, and I think Server 2003. Although this runs fine on Win2k Server, it is coded to refuse to - there are plenty of hacked versions around which bypass this check though. We use one of these hacked versions to create scheduled tasks as part of an automated build process on Win2k Server, and it works great.
Fog Creek Home