Gatsby - Schedule tasks or setIntervals on the server?

Hi, is it possible to schedule task / run code at setIntervals on the server? I’m looking to automate refreshing my instagram access token which needs to be done every 60 days
and looks like it can be achieved with a simple API call.

hi there, we don’t support this natively, I think. But that doesn’t mean it can’t be done - there are some suggestions here on how to make this work:

GitHub actions might be your friend here :slight_smile: you can have them run on a cron interval and do your API key updates and such :ok_hand:t2:


Jon