Skip to content
Advertisement

create a task scheduler from the command line with python and run admin privilege

I create manual tasks in the task scheduler like [here].(https://www.jcchouinard.com/python-automation-using-task-scheduler/) I want to do this in cmd but how to choose admin privilege and send all parameters like path python or my file

Advertisement

Answer

This is my command line

JavaScript

But I get: Invalid syntax. Mandatory option ‘sc’ is missing. Type “CREATE /?” for usage.

I want to do this and set it to status ready.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement