Answer the question
In order to leave comments, you need to log in
Executing a script once per second?
Hello, what is the best way to solve this problem?
There is a task to do something like this: https://soojoo.ru/lots/info?id=2504
There is a timer, for example 20 seconds, at the moment when there are 5 seconds left, you need to perform actions, how can this be done?
through cron , the minimum interval is 2 minutes
Answer the question
In order to leave comments, you need to log in
Auctions are real-time applications. And delays there are highly undesirable, if not completely unacceptable. Use more suitable technologies for this. For example, websockets, Comet...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question