Archive

You are currently browsing the Log et al – Peter Curd blog archives for August, 2009.

Aug

4

Trigger Scheduled Tasks Remotely

By pcurd

Just had to trigger a windows scheduled task remotely and was struggling to find VBScript etc to do it when I found a rather natty tool – SCHTASKS.exe.

Very helpful tool that works locally or remotely and by file path or schedule name.

However, there is an odd bug listed here http://www.onnraves.com/2009/05/20/running-scheduled-tasks-from-the-command-line/ which stumbled me for a little while. If you get the error “The parameter is incorrect” this is definitely the place to go.

(To summarise in case of link rot, the “.” character must not be in your task name)