Avatar of dilipsjain
dilipsjain
Flag for India asked on

Create a Scheduled Task Using Command Prompt

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.
Microsoft DOS

Avatar of undefined
Last Comment
Qlemo

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Bill Prew

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Qlemo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy