Displaying 1 result from an estimated 1 matches for "wait_random".
Did you mean:
fast_random
2013 May 15
5
Shell Scripting Random Delay
I have a shell script that's run every 5 minutes I use to call many
other shell scripts. Is there a way to wait a random number of
seconds before executing each line? Something like this.
wait_random 10 - 180 (perl /scripts/my_script.pl) &
wait_random 10 - 180 (perl /scripts/my_script5.pl) &
wait_random 10 - 180 (perl /scripts/my_script7.pl) &
I have many entries in this file and I background them all because
most must poll network devices which can take time. None should take
ove...