Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29253

How to Setup and check if cron jobs are running on ec2 instances

$
0
0

I am running a Linux instance on ec2 I need a cron job to run every minute

When I use crontab in the terminal ( i am logged in using the terminal btw ) it does not seem to be working and when I use the cron.d option it does not seem to be working either

cron.d file * * * * * ec2-user python3 /home/ec2-user/Programs/file.py

this does not seem to work and I'm out of ideas if somebody could walk me threw the process of creating a cron on ec2 that would be really helpful


Viewing all articles
Browse latest Browse all 29253

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>