Browsing articles tagged with "schtasks - Admins Goodies"
May 2, 2012
tom

Add a new scheduled task from command line with “wake the computer to run this task” on

I’m trying to add a scheduled task to start every day at a fixed hour even if the computer is in sleep mode. In the Windows Scheduled Tasks Manager UI, there is a check-box labeled “Wake the computer to run this task”. How can I set this option with schtasks in cli? The OS is Windows XP Pro. My command right now is: schtasks /create /tn “asdf” /tr asdf.cmd /sc DAILY /st 23:00:00 /ru System […]

Continue Reading »
Aug 19, 2011
tom

How to schedule a task for multiple days of a month using schtasks.exe?

Since task scheduler API has been changed after Vista & Server 2008, scheduling a task with schtasks is (as much as I know) the only way that works on both Windows 2003 Server and Windows 2008 Server. I need to create a task that will run every on 5th and 20th of each month. Is this possible with schtasks.exe? Creating a scheduled task that will run on every sunday and monday of a week is […]

Continue Reading »