Ask HN: Dynamic Interval Cron

Ask HN: Dynamic Interval Cron
2 by ed1ted | 0 comments on Hacker News.
I have a need for calling a function hosted on aws lambda based on dynamic interval. The function usually needs to be called for few hours a day to do some data processing. Because I’m calling external services, sometimes I would call this function on 5 minute interval or could be longer if I run into rate limit issues. So I’m thinking of writing a service which would allow the endpoints to pass back the time (eg 5m or 1h) as a response header to define when to call the function again. I know it’s very specific use case but is this something that can be extended for other uses cases? Trying to figure out if it’s worth building a micro SaaS

Comments

Popular posts from this blog

Lord of the Rings Influenced a Cyberpunk 2077: Phantom Liberty Quest

Lord of the Rings Fans Mourn King Théoden Actor Bernard Hill, Dead at 79

Redfall's Final Update Is Live, Bringing With It Offline Mode, DLSS 3, and More