Sounds like a job for serverless functions, e.g. in Azure [1], though I'm sure every hyperscaler has that. The Azure version even uses Cron syntax for the scheduling.
[1] https://learn.microsoft.com/en-us/azure/azure-functions/func...
[1] https://learn.microsoft.com/en-us/azure/azure-functions/func...