Вопрос

I try to create this scheduled task using the command line:

enter image description here

enter image description here

I tried:

schtasks.exe /Create /tn test1 /tr notepad.exe /sc montly /m jan,feb /d 12,27

but it seems that /d can get only one parameter, for example: /d 12

How can I create the same task as in the wizard? I want to create a task that runs every 12 and 27 of january and febuary.

Thanks, Inbal.

Это было полезно?

Решение

The only way I found to do it, is by using xml and pass it as a parameter to the /create command.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top