I need to update an api every hour.
Is it possible to make a netlify function for that purpose.
There will be no trigger.
Something like setinterval or every time the times minutes part is 00, Like that.
No such feature built in to our service today, but you can work around it in several ways and many customers do.
Our best suggestions for a workaround are:
- use a service like zapier.com that can do things on a schedule (https://zapier.com/help/create/customize/schedule-zaps-to-run-at-specific-intervals)
- use a server with a facility like unix’s cron to use a tool like
curl
each hour to access your function and run it.
Could one of those work for your use case?
2 Likes
Yes, it works for me