views:

329

answers:

2

I'm trying to make a scheduled task, and its just not working for me.

This is the command I type in CMD: schtasks /create /sc minute /mo 1 /tn test /tr calc.exe /st 19:17:00 /sd 12/14/2009

I'm trying to tell the computer to run calculator every minute starting at 7:09 PM. Although I get a success message after I type this in and hit enter, nothing happens at 7:09. What gives?

Thanks in advance.

A: 

/st wants HH:mm, not HH:mm:ss. The following works for me on Windows 7:

schtasks /create /sc minute /mo 1 /tn test /tr calc.exe /st 14:43 /sd 12/15/2009

Doc:

/ST   starttime    Specifies the start time to run the task. The time
                   format is HH:mm (24 hour time) for example, 14:30 for
                   2:30 PM. Defaults to current time if /ST is not
                   specified.  This option is required with /SC ONCE.
popester
Well, I put this command in:schtasks /create /sc minute /mo 1 /tn test /tr calc.exe /st 18:07 /sd 12/15/2009But this doesn't work at all. I have Windows 7 aswell, and the task scheduler service is running. Is there anything else that could be the issue? Is it something in my user permissions?
Waffles
A: 

make sure that your task scheduler service is running as well. check in your "control panel" under "services"