I'm sure there's a proper term for what I'm trying to do but I don't know it. I would like to "run" a program or a method in an API controller periodically. For example, in a database connected to my app, I have table A that gets populated from a client request, and table B that uses table A to populate itself. Table B shouldn't be populated during a client request because it would take too long, instead it would be convenient for a program to exist that refers to table A and populates table B periodically.
What is this practice called? How is it done in C#/ASP.NET Core and what are some best practices? FYI my ASP.NET Core REST API is deployed in Azure.
Thank you and stay safe out there!