Set Up Scheduled Python Scripts on EC2 Tutorial

Veröffentlicht am: 07 Mai 2023
auf dem Kanal: Tech with Hitch
5,007
127

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


Auf dieser Seite können Sie das Online-Video Set Up Scheduled Python Scripts on EC2 Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Tech with Hitch 07 Mai 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,007 Mal angesehen und es wurde von 127 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!