CrippledSquid89
CrippledSquid89

Reputation: 66

Can you use Task Scheduler from python?

I would like to use python to schedule a task in Windows Task Scheduler. Is this possible?

Upvotes: 0

Views: 228

Answers (1)

Le Minaw
Le Minaw

Reputation: 885

One way to achieve this might be to run SCHTASKS.EXE commands with the os module:

import os
os.system('SCHTASKS /CREATE /SC DAILY ...')

Upvotes: 1

Related Questions