Answer the question
In order to leave comments, you need to log in
Need to run php script on server 1 time per second?
I'm not strong in working with cron, I think that I can somehow do it so that it can be used to run script.php once a second. Who knows tell me
Answer the question
In order to leave comments, you need to log in
Cron does not know how to run tasks per second.
You either need to run an infinite wrapper loop and run tasks every second in this loop. And put a watchdog in the crowns, which will pick up your wrapper if it falls.
The second option is to use something more advanced like snaked:
search.cpan.org/~kohts/snaked-0.14/lib/snaked.pm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question