Answer the question
In order to leave comments, you need to log in
How does crontab work?
I have two questions.
Is it possible to put crons for 1 minute and check if there is a task for the script in the database and if there is, execute it, but is it not fast? Mainly interested in the load on the server.
And what will happen if at the same time, through cron, several times to access the same script, it will not turn out that the requests will conflict with each other?
Answer the question
In order to leave comments, you need to log in
> Is it possible to put crowns for 1 minute
It is
possible.
> and check if there is a job for the script in the database
You can.
> and if there is to carry it out, you
can
> and it's not fast?
And this is not a question.
> Mainly interested in the load on the server.
From the crown, the load will be insignificant. From your script - depends on your script.
> And what will happen if at the same time, through kroner, several times to refer to one script
The script will be executed several times.
> it will not turn out that requests will conflict with each other?
If you handle this situation in your script, they won't. There are no built-in mechanisms for this in the crown.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question