Do we have any function or piece of code to call a particular function after a specific time interval as setInterval in Javascript.
PHP terminates when the request is done, so it isn't possible.
You can use a cron at the linux level.
sleep
inside a loop is probably the closest thing. PHP isn't designed for that, really.