randomize execution the a script?
lahaye at snu.ac.kr
Thu Sep 18 02:13:11 PDT 2003
Gil Agno Virtucio wrote:
> Hi. I want to randomize the execution of a shell script. Can i use cron
> to do this? or are there other available tools that i can use to do this?
See 'man 6 random' and 'man sleep'.
Then try doing something like this in the background:
random -e 60
<do shell script here>
Where '60' means, maximum 60 seconds between two script calls.
There might be better or nices ways of doing this :).
More information about the freebsd-questions