I use the sleep function to send me a message

in ten seconds, but unfortunately when I use sleep, the robot shuts down in ten seconds. What should I do?

15 ответов

34 просмотра

Wich language??

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса
(Mr)Alishr
Wich language??

what ? 🤔 I wrote wrong ? I can speak Persian

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса
𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса
𝐆𝐎𝐎𝐃 𝐁𝐎𝐘
oh :) sorry PHP

Just use cron job in different file

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса
(Mr)Alishr
Just use cron job in different file

Cronjab is one minute But I want him to send me a message every ten seconds

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса
(Mr)Alishr
Use for loop and use sleep 1 second in it

If I use Sleep, my robot will shut down

𝐆𝐎𝐎𝐃 𝐁𝐎𝐘- Автор вопроса
(Mr)Alishr
In different file man

If the robot token is in another file and I use Sleep, will my robot not turn off?

Похожие вопросы

Карта сайта