php - Elastic Beanstalk worker tier periodic task not running -


i have periodic task setup on elastic beanstalk worker tier using cron.yaml file.

i have 2 files in app, in root directory:

cron.yaml

index.php

the root path app "/".

the cron.yaml looks like:

version: 1 cron: - name: "emails" url: "/" schedule: "* * * * *"

the index.php calls request bin url file_get_contents, test if it's running.

the request bin never gets hit, looks cron script isn't running every minute should. tried changing url in cron.yaml /index.php still no dice.

anybody know might wrong?


edit: here aws-sqsd/default.log:

2015-05-15t12:49:43z pollers: aws::sqs::errors::nonexistentqueue: specified queue not exist wsdl version. 2015-05-15t12:49:43z pollers: aws::sqs::errors::nonexistentqueue: specified queue not exist wsdl version. 2015-05-15t12:49:43z pollers: aws::sqs::errors::nonexistentqueue: specified queue not exist wsdl version. .......


edit 2: added queue worker (in right region) , here's aws-sqsd/default.log:

2015-05-15t18:53:32z message: sent %[http://localhost:80/] 2015-05-15t18:53:32z http-err: b09629a7-c14e-469a-a980-a3ac2565e779 (17) 500 - 0.002 2015-05-15t18:53:34z message: sent %[http://localhost:80/] 2015-05-15t18:53:34z http-err: b09629a7-c14e-469a-a980-a3ac2565e779 (18) 500 - 0.006 2015-05-15t18:53:36z message: sent %[http://localhost:80/] 2015-05-15t18:53:36z http-err: b09629a7-c14e-469a-a980-a3ac2565e779 (19) 500 - 0.002 2015-05-15t18:53:38z message: sent %[http://localhost:80/] 2015-05-15t18:53:38z http-err: b09629a7-c14e-469a-a980-a3ac2565e779 (20) 500 - 0.002

here's /var/log/httpd/access_log too:

127.0.0.1 - - [15/may/2015:18:52:59 +0000] "post / http/1.1" 500 - "-" "aws-sqsd/2.0" 127.0.0.1 - - [15/may/2015:18:53:01 +0000] "post / http/1.1" 500 - "-" "aws-sqsd/2.0" 127.0.0.1 - - [15/may/2015:18:53:03 +0000] "post / http/1.1" 500 - "-" "aws-sqsd/2.0"


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -