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
On this page of the site you can watch the video online Set Up Scheduled Python Scripts on EC2 Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Tech with Hitch 07 May 2023, share the link with friends and acquaintances, this video has already been watched 5,007 times on youtube and it was liked by 127 viewers. Enjoy your viewing!