Schedule Python scripts with crontab / Automated script execution and DataBase Update

Опубликовано: 19 Июнь 2021
на канале: Algovibes
5,742
130

Hi everyone,
in this video we are quickly going over automating python scripts via a predefined execution date. The windows equivalent is the task scheduler.

Please note that the DataBase example is just a quickly coded example to show the functionality but you should not rely on it as I am not making 100% that I am only getting the last minute. I will provide a better way when we are updating the MySQL database in the Stock recommender series.

Important:
To remove your cronjobs use crontab -r

aferwards check by typing in:
crontab -l

Let me know if you have any questions! :-)

If you like my content please consider subscribing.

Crontab syntax:
https://crontab.guru/

More background on Python and SQL:
   • Create your own Finance DataBase with...  

Stock recommender part I:
   • How to build a Stock Recommendation S...  

0:00 - 04:26 Simple example of automatic executing of a Python script
04:26 - 09:16 Example of updating a sample DataBase (please read description)

#Python #Automation #Crontab