Because the default modifier is none (no modifier), the default day is day 1, and the default month is every month, the command does not need any additional parameters.schtasks /create /tn "My App" /tr c:\apps\/sc monthly The following command schedules the My App program to run on the last day of every month.By default, the task runs with the permissions of the user logged on to the computer running Sch Tasks.

ru n s dating-61

This parameter is required when the /u parameter is used.

/ru : Runs the tasks with the permission of the specified user account.

A value of 1 - 31 is optional and is valid only with no modifier or a modifier of the 1 - 12 type. The default value is the current local time when the command completes.

The /st parameter is valid with MINUTE, HOURLY, DAILY, WEEKLY, MONTHLY, and ONCE schedules. /sd : Specifies the last date that the task is scheduled to run. It is not valid in a ONCE, ONSTART, ONLOGON, or ONIDLE schedule. /s : Specifies the password of the user account specified in the /u parameter.

It uses the /mo parameter to specify the last day of the month and the /m parameter with the wildcard character (*) to indicate that the program runs on the last day of every month.

schtasks /create /tn "My App" /tr c:\apps\/sc monthly /mo lastday /m * The following command schedules the My App program to run every three months. schtasks /create /tn "My App" /tr c:\apps\/sc monthly /mo 3 The following command schedules the My App program to run on the second Sunday of every month.Notice that the security script source file is located on a remote computer, but that the task is scheduled and executes on the local computer.schtasks /create /sc minute /mo 20 /tn "Security Script" /tr \central\data\scripts\In response, Sch displays a message explaining that the task will run with the permissions of the current user and requests the current user's password.It uses the /mo parameter to specify the second week of the month and the /d parameter to specify the day.schtasks /create /tn "My App" /tr c:\apps\/sc monthly /mo SECOND /d SUN The following command schedules the My App program to run on May 15 and June 15 at PM ().The command uses the /mo parameter to specify the interval.