Set Up Scheduled Python Scripts on EC2 Tutorial

Publié le: 07 mai 2023
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Set Up Scheduled Python Scripts on EC2 Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tech with Hitch 07 mai 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,007 fois et il a aimé 127 téléspectateurs. Bon visionnage!