Jul-13-2020, 08:53 AM
Okay, so the easiest option here requiring very little knowledge of python, is to just create an executable. Then you can set it to run everyday at a certain time using windows scheduler. Then to close/exit i would set a delay using the time module with sleep in the script itself. Again, this is the easiest option, in my opinion. You would also need to implement the OS module to close the process.
Example:
Example:
os.system("taskkill /im chrome.exe /f")