PDA

View Full Version : How to... schedule stand-alone TrueUpdateClient.exe


MBTINC
06-15-2005, 06:28 PM
Help! I need some ideas on how to setup a regularly scheduled run of my stand-alone TrueUpdateClient.exe software.

I cannot get to each/every machine and add this .exe as a scheduled task or modify the registry manually.

Shouldn't I be able to do this programatically when it is installed?

Maybe a key in the registry (?) like RunOnce or another which will add to the scheduled task jobs?

I'm sure this has been an issue before but couldn't find any similar/specifics in the forum. Just need to get pointed in the right direction.

Thanx gang, I'll provide a working sample when it's done.
-MBT{it's a way of life}

Brett
06-16-2005, 10:08 AM
On Windows NT/2000 you can run the AT command. On Windows XP, run the Schtasks command. Both are command line tools that come with the OS. To learn more about them, go to Start > Run and type cmd then hit OK to get to a command window. Then type:

AT /?

and

Schtasks /?

To get help.

If you want to do this on Windows 98 and up you will have to make a DLL or plugin that use the ITaskScheduler (http://msdn.microsoft.com/library/en-us/taskschd/taskschd/itaskscheduler.asp) interface from C++.