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