News for hackers. Stuff that matters.
Re:Writing a cron job microservice with Serverless and AWS L... by lostcolony on Monday January 30, 2017 @10:15PM (#13527228)
Not sure based on your wording, but you -can- execute scheduled tasks with Lambda. It's a little tricky, as the actual configuration takes place in Cloudwatch (Cloudwatch Events). You also will be sure to want to set up a dead letter queue, and have that broadcast to an SNS topic that will email you, so that in the event the lambda fails, you'll be alerted.
Re:Writing a cron job microservice with Serverless and AWS L... by abrookewood on Tuesday January 31, 2017 @05:36AM (#13529377)
I've read about external services that will hit a SQS queue for you, but it would be a lot nicer if it was just supported natively in Lambda.
Re:Writing a cron job microservice with Serverless and AWS L... by lostcolony on Tuesday January 31, 2017 @05:51PM (#13536152)
No, like, http://docs.aws.amazon.com/lambda/latest/dg/with-scheduled-e... (and linked from that page, http://docs.aws.amazon.com/lambda/latest/dg/tutorial-schedul... )

You can just set up "here's my cron string, run this function", and it will run that function when applicable. No external services, no SQS. Just a Cloudwatch event, that executes your lambda, at a set schedule.

Re:Writing a cron job microservice with Serverless and AWS L... by abrookewood on Tuesday January 31, 2017 @09:18PM (#13537608)
Perfect! Thanks. I'm going to retire some boxes ;)