Answer the question
In order to leave comments, you need to log in
How to generate a random number in a range?
You need to randomly run the command. In the range from 5 to 30 min.
Those. start after 27 minutes, then after 5, then after 8, then after 3 minutes, then after 17 minutes. etc.
#!/bin/bash
while true; do
sleep _СЛУЧАЙНОЕ ЧИСЛО_
_КОМАНДА_
done
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question