randomize execution the a script?

2003-09-18 Thread Gil Agno Virtucio
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? thank you very much. ** Get your free E-Mail account at WWW.DIGITELONE.COM **

Re: randomize execution the a script?

2003-09-18 Thread Rob Lahaye
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: #!/bin/sh while true do

RE: randomize execution the a script?

2003-09-18 Thread Charles Howse
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: #!/bin/sh while

Re: randomize execution the a script?

2003-09-18 Thread Rob Lahaye
Charles Howse wrote: I don't happen to have random installed on my system, however jot is It's in /usr/games/random of FreeBSD 4.8. Won't randomNumber=$? Just return 0 if the previous command completes successfully? Shouldn't it be: randomNumber=`random -e 60` No. In 'man 6 random', it

RE: randomize execution the a script?

2003-09-18 Thread Charles Howse
I don't happen to have random installed on my system, however jot is It's in /usr/games/random of FreeBSD 4.8. Won't randomNumber=$? Just return 0 if the previous command completes successfully? Shouldn't it be: randomNumber=`random -e 60` No. In 'man 6 random', it says: