troubleshooting Question

Create a Scheduled Task Using Command Prompt

Avatar of dilipsjain
dilipsjainFlag for India asked on
Microsoft DOS
2 Comments2 Solutions124 ViewsLast Modified:
Dear All,

Using schtasks command i have created a windows scheduled task and it is working fine for the single parameter.
Now i need to create a task with multiple arguments.
For example: My task should run monthly, Sunday of First and Second week.
I was trying something like this but it is giving error.
schtasks /create /tn "mytask" /tr Myapp.exe /sc monthly /mo FIRST,SECOND /d sun /m jan /st 15:00:00 /sd 25-07-2016 /ed 01-04-2035

Can anybody help on this issue.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros