I recently setup a cron job on my EC2 instance. I have my file "test.py" uploaded to this instance and would like it to run at a set time every week.
The type of instance I am using is Amazon Linux AMI 2018.03.0 (HVM)
From within my EC2 instance using PuTTy I used crontab -e to edit the crontab file. I entered:
30 12 * * 2 python /home/ec2-user/test.py
to have it run every Tuesday at 12:30.
Now, whenever I do crontab -l the newly created cron is shown but it has not been running for whatever reason.
Did I use the wrong file path for my test.py file that's on the EC2 instance?
I am unsure as to how to progress.