Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Cron is a scheduler that executes shell commands. Lambda represents the shell command itself right? What are you using to specify when something should run?


Lambda can trigger off a bunch of AWS events. One of those events types are CloudWatch events, mostly used for triggering in response to things like CPU activity or other metrics. One of the CloudWatch events you can specify are plain old Cron events:

https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/S...


If you use a tool like the Serverless Framework, you can trigger Lambda functions off of many different events, includinmg a schedule: https://www.serverless.com/framework/docs/providers/aws/even...


Lambda has built in support for scheduling, including cron syntax https://docs.aws.amazon.com/lambda/latest/dg/services-cloudw...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: