Dennis Peterson wrote: > > > if [ -z "$1" ]; then > /usr/bin/bash -c 'sleep $[ RANDOM % 1800 ]' > fi > > This creates a random number between 1 and 900 that becomes the number > of seconds the code sleeps before jumping into the fray.
Damn - that should have been '1 and 1800'. First coffee of the morning syndrome kind of oops. dp _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html