Answer the question
In order to leave comments, you need to log in
How to loop through a PHP script?
There is a php script - let's call it a VK bot, but this script only works if you refresh the page.
How to force it to be executed cyclically?
Preferably without a browser, on the server side, but you can do without it.
Answer the question
In order to leave comments, you need to log in
php is not really suitable for such tasks. As I understand it, you need something like a demon.
If, say, the ability to run a script once a minute is allowed, you can use cron.
daemon - habrahabr.ru/post/134620
cron - rus-linux.net/MyLDP/admin/cron.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question