Reputation: 1097
I'm currently working on scrapping tool for information analysis and I put a cron job on AWS EC2 instance (Ubuntu 14 TLS Server).
The cron job runs by executing Laravel artisan command.
Following is what I have entered in crontab -e
.
0 20 * * * php /var/www/html/artisan data:get
But this doesn't run everyday and I found cron service has stopped for no reason.
Is it possible to have cron job on AWS Ec2 instance?
If not, what's the solution?
Upvotes: 0
Views: 7941
Reputation: 14905
Yes, cron should just run on Amazon EC2 instances. Did you look at the answers to this question ? Cannot get cron to work on Amazon EC2?
Upvotes: 1