Answer the question
In order to leave comments, you need to log in
How to properly implement this task?
Hello !
Help to implement the task...
...We need to make a looped timer that runs on the server side, once every 15 minutes, and performs the task, and on the user side it displays how much time is left before the start of a new task execution, so I don’t know how to implement it? I thought with cron, but the question is how to connect the jq timer with cron...
Answer the question
In order to leave comments, you need to log in
And why should the timer be connected with the crown, and what are you going to connect there?
There is a cron that runs every 15 minutes, so you know the time when it will run, why bind anything somewhere? Count yourself from the current time how much is left before the desired interval. There is only 1 nuance - it is desirable to receive the time from the server, otherwise no one knows how the clock goes on the client machine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question