@mebeingken or anyone else that is knowledgeable in Ken’s Bull Queue extension. It’s been a while since I used the extension and I’ve forgotten how to use it.
I’m trying to set up a continual refresh of Access tokens once a user has connected their Google/Microsoft account.
The high level flow I’m trying to build is:
- User authenticates via OAuth
- Access token and Refresh token are stored in oauth table in database
- I want to schedule a job that will refresh the access token to execute ~10 mins before the expiry time (60 mins from last refresh). When this refreshes the Access Token it should create another job to refresh the token again, so that every time it executes it’s creating the next job.
I’m not sure if this is possible in the current Bull Queue extension as I do not see any mention about the Repeatable job type in Ken’s documentation. Has anyone does something similar and could provide steps on how to implement it?