Solutions to rewrite articles in bulk using OpenAI API?

What solution can be used to rewrite a batch of existing articles using a specific prompt, model 4.5 and setting a delay between each article of X minutes?