You can invoke the same lambda or other lambda functions with the aws SDK
Check out: http://stackoverflow.com/questions/31714788/can-an-aws-lambda-function-call-another#31714788
So you could schedule a lambda cron function to run every 5 minutes (lets say) and inside that function call:
var aws = require('aws-sdk');
var lambda = new aws.Lambda({
region: 'us-west-2' //change to your region
});
lambda.invoke({
FunctionName: 'name_of_your_lambda_function',
Payload: JSON.stringify(event, null, 2) // pass params
}, function(error, data) {
if (error) {
context.done('error', error);
}
if(data.Payload){
context.succeed(data.Payload)
}
});
You will just need to make sure your cron function has the correct IAM roles that allow it to invoke the other function