Answer the question
In order to leave comments, you need to log in
View site in cron?
How to make cron view the site every 10 seconds
It
is the site at the link and not php /path/
Answer the question
In order to leave comments, you need to log in
I don't know about browsing... I don't really understand what the script does, but once every 15 seconds, run:
*/1 * * * * root /home/mybin/script.sh; /bin/sleep15; /home/mybin/script.sh /bin/sleep15; /home/mybin/script.sh /bin/sleep15; /home/mybin/script.sh
by analogy, you can set 10 seconds, but the pipeline will also have to be expanded
I would not use cron, I would write a script like this:
funktion(){
команды проверяющие сайт
}
for ((;;))
do
funktion
sleep 10
done
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question