I am using my host to run a python script as a program.
My script is checking a website every 15 minutes and get the news but the problem is sleep() uses cpu, and my host won't accept this.
I want a function or a method to block the execution until 15min later.
I tried to use semaphores, but it require some library which my host won't install them for me.
My script is checking a website every 15 minutes and get the news but the problem is sleep() uses cpu, and my host won't accept this.
I want a function or a method to block the execution until 15min later.
I tried to use semaphores, but it require some library which my host won't install them for me.
Comment