Windows запускает задание по id прямо сейчас

1187
PiiGuy

Можно ли запустить запланированную команду с идентификатором «прямо сейчас»?

Я не уверен, если это вообще возможно на окнах, Atleast Я еще ничего не нашел

1
Просто чтобы вы знали * почему * я удалил тег `at`: это из-за того, как он определен в теге wiki - http://superuser.com/tags/at/info Raystafarian 10 лет назад 0

1 ответ на вопрос

0
toryan

You can call a scheduled task manually by name using the schtasks command, like so:

schtasks /run /TN "your task name"

I'm not sure if that's what you mean by ID, but the only way to uniquely identify a task in the Task Scheduler (that I know of) is by name.

You can do just about anything with the schtasks command. Full documentation is on Microsoft's website here.