How to call server tier url from AWS cron job on Worker Tier?
omkar prabhu gaonkar

The way the Worker Tier works means you can’t call a Web Tier URL directly from cron.yaml. But you can create an endpoint in your Worker Tier app that calls a Web Tier URL if you need to, and then have cron.yaml point to this endpoint. It’s worth pointing out that this isn’t recommended, however, as the Web Tier is not designed for running long-running processes or background tasks. You’d be better off putting the code you want to run on a scheduled basis into the Worker Tier app itself.

Like what you read? Give Joe Lennon a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.