There are a few pretty good tools out there to get where you want to go. Take a look here:
www.karenware.com
Look for the free programs on the left. Once in the free programs look over the "Show Stopper" and the options it has. It allows for using command lines with a timer function from what I read.
Karen distributes her programs (all written in VB 6.0) in two versions. She offers the compiled program ready to run, and she also offers them with free source code in VB 6 for those who want to modify or develop on her stuff. There are some very good and very useful Power Tools.
Hope that helps...
Ron