How to Make a Recurring Scheduled Task (Python Script) that Wakes Up the Windows to Run?

Ala Falaki
5 min readSep 26, 2021
Photo by vision webagency on Unsplash

I recently needed to run a Python script in 10 minutes intervals on my PC, which is relatively easy. The problem is, I wanted the task scheduler to wake up the PC from sleep and run the task. Otherwise, the PC needs to be on 24/7! As it turned out, while it might be easy to wake up PC once a day, It is not possible to do it multiple times

--

--

Ala Falaki

Technical Editor @ Towards AI - Ph.D. candidate working on Text Summarization / write about NLP. Let's talk on Twitter! https://nlpiation.github.io/