Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Well then, like this:
and your anotherscript will look like
#!/bin/bash
for i in {1..120}
do
yourcommand
sleep 0.5
done
With such a frequency, it is better to write a script with an infinite loop inside and count 500 ms in it.
while (true) {
//Тут пишутся действия, которые необходимо выполнить
usleep(500);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question