Using AWS worker to delete old DB entries?

I have an app on AWS using Elastic Beanstalk/RDS/EC2/etc.

The app has some database entries that need to be deleted after a certain time. I've tried to set up a cron task on the main server, but found that the web server cannot handle tasks like this, and a worker has to be created instead.

So, after writing up a quick worker based on this document, it seems that I cannot have the worker connect the existing database.

Am I overthinking this? I just need a way to have traffic come in, interact with the website, and then delete entries over time as they become irrelevant.

Replay

Category: amazon web services Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.205 (s). 12 q(s)