Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon Elastic Beansalk cron.yaml file

I have deployed my app on Amazon Elastic Beanstalk. The app environment is common webserver.

Can cron.yaml file be used to create periodic jobs for common web server type environments as well? The documentation says its a way to create periodic jobs for worker type environments.

like image 862
Tezro Solutions Avatar asked Jan 06 '23 16:01

Tezro Solutions


1 Answers

I believe cron.yaml is only for Worker environments. The scheduled task feature is driven by SQSD, the utility that relays SQS messages via HTTP posts to your application. Web tier environments do not have SQSD.

You can probably cook up an alternative using a scheduled Lambda function, though.

like image 155
James Avatar answered Jan 16 '23 22:01

James