0

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?

adeltahir
  • 1,087
  • 2
  • 15
  • 31
  • If the answer below is correct, can you mark it as such ? This would help other customers having the same question and looking for answers. Thanks – Sébastien Stormacq Dec 25 '14 at 06:31

1 Answers1

1

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?

Community
  • 1
  • 1
Sébastien Stormacq
  • 14,301
  • 5
  • 41
  • 64