How to run lambda function on a schedule in my localhost?
I have a task that need to be scheduled on aws lambda function. I wrote a SAM template as below and I see it works when deploying on aws environment (my function get triggered intervally). But we want to do…