In PHP we have cron jobs, where the hosting server automatically picks up and executes a task as per the schedule given.
What would be a good alternative to use for
Another option is to use hangfire which says about itself
An easy way to perform background processing in .NET and .NET Core applications. No Windows Service or separate process required.
Backed by persistent storage. Open and free for commercial use.
Requirements (as of November 2019) are
Assuming that you have already some API project which runs as service, you can use hangfire within.
Disclaimer: I am not affiliated in any kind with hangfire, I will just be using it soon.