KieranBond / Tomorrowify

Giving you a playlist for tomorrow.
https://tomorrowify.com
MIT License
4 stars 2 forks source link

Scheduled Runner #20

Closed KieranBond closed 1 month ago

KieranBond commented 4 months ago

On a schedule, run the playlist modification part of the backend.

This should be once per day, around midnight.

KieranBond commented 2 months ago

We probably want to create another lambda that will use S3 events and an HTTP client to call our minimal API - then we can hook it up with a scheduled event.

Further reading:

https://github.com/aws/aws-lambda-dotnet/discussions/1243

https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/scheduled-events-invoking-lambda-example.html