Link to home
Start Free TrialLog in
Avatar of dilipsjain
dilipsjainFlag 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.
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial