Hack like a pro with basic Python and scheduled tasks
Published in
May 6, 2022
1. Create your Python file that does stuff
Put the code that does stuff into a python file C:\does_stuff.py
2. Create a scheduled task that opens and runs your Python file every minute
For example, I have created a Python file that can get the latest ADA price and add it to a database.
Go to the Windows Command Prompt and run code similar to below with your task name and your file name.
schtasks /create /sc minute /mo 1 /tn “ADA_Price_Checker” /tr C:\Users\Owner\Desktop\crypto_bot\does_stuff.py
3. Delete scheduled task when done
When finished, go to the Windows Command Prompt and type similar code with your task name to shut it down.
schtasks /delete /tn “ADA_Price_Checker” /f