If it is going to time out after 15 mts, it is not a good idea to take this approach.
Thanks
Sarwar
Sent from my Galaxy
-------- Original message --------
From: Doug Reynolds <mav@xxxxxxxxxxxxx>
Date: 7/19/23 8:35 PM (GMT-05:00)
To: M Sarwar <sarwarmd02@xxxxxxxxxxx>
Cc: pgsql-admin@xxxxxxxxxxxxxxxxxxxx
Subject: Re: How to schedule long running SQL job
Run a postgres container on Fargate, dumping CSV from psql to a file, upload to S3. Kick job from CloudWatch cron trigger.
You could do a lambda, but it would time out after 15 minutes. Sent from my iPhone
On Jul 19, 2023, at 7:41 PM, M Sarwar <sarwarmd02@xxxxxxxxxxx> wrote:
|