How to call a function repeatedly after fixed time

How can I call an endpoint after a specific amount of time. How can I replicate this in postman?
Something like a schedule runner just for an endpoint not a whole collection


var logMe = function () {
console.log(‘This will be the function calling the api’);

setTimeout(logMe, 2000);

Hi @charleslandvoice, Welcome to community!

I believe you are trying to have a scheduler for your apis that will be triggered.

You can make use of postman monitor

Hope it helps :slightly_smiling_face:

Can i use postman monitor for one endpoint? i thought postman monitor is only for running collections

You can have a collection with just one request in it :slightly_smiling_face:

ahh thank you @darkphoenix :grin: :