Create Scheduled Event Dynamically

I want to trigger a lambda function at the time specified by the user at run time and perform specific action like sending email or text. I know i can run a cron job which runs every minute to match the user specified time and send the mail or sms but that will execute the function every single minute which i don’t want. Can someone suggest me the better way of doing this using scheduling.

You could schedule a Cloud Watch Event via the API

1 Like