In this video I schedule a bitcoin pricer scraper on EC2
Commands Used:
sudo su
sudo yum install python3-pip
nano your_script.py
CTRL+S (Save File)
CTRL+X (Quit Nano)
cat your_script.py (Print every line in your file)
which python3 (get python path)
readlink -f your_script.py (gets path of the python script)
crontab -e
sudo yum install cronie
Write the following keys to save and quit crontab
ESC :wq ENTER
crontab -l
sudo systemctl status crond
sudo systemctl
start crond
0:00 Introduction
1:00 EC2 Instance Creation
2:15 Set up EC2 dependencies
5:30 Setup crontab scheduling
In questa pagina del sito puoi guardare il video online Set Up Scheduled Python Scripts on EC2 Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tech with Hitch 07 maggio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,007 volte e gli è piaciuto 127 spettatori. Buona visione!