Run server action based on row in table

I have multiple server actions which basically “syncs” an API of the software that we use, to our database. So all data from their API to our database. I want to run each sync on different time schedules, for instance sync1 every hour, and sync2 every 10 minutes. I can obviously achieve this using an action scheduler, but how can I fire an action scheduler (and change it’s interval) based on a database table like this:

Each row is should fire an action scheduler, which fires a server action every x minutes/hours. I’m not sure how to “link” the table rows to the scheduler. Any idea how to do this?

Community Page
Last updated: