Re: [CentOS] Shell Script Help

2013-09-06 Thread Nicolas Thierry-Mieg
Matt wrote: I have a script file in my cron.hourly that contains a good number of scripts I must call. #!/bin/sh sleep 15 perl /scripts/create_graph.pl sleep 15 perl /scripts/create_graph_out.pl many more lines. etc. Is there a way I can sleep random length to time before executing

Re: [CentOS] Shell Script Help

2013-09-06 Thread Marc Wiatrowski
On Fri, Sep 6, 2013 at 8:44 AM, Nicolas Thierry-Mieg nicolas.thierry-m...@imag.fr wrote: Matt wrote: I have a script file in my cron.hourly that contains a good number of scripts I must call. #!/bin/sh sleep 15 perl /scripts/create_graph.pl sleep 15 perl

[CentOS] Shell Script Help

2013-09-05 Thread Matt
I have a script file in my cron.hourly that contains a good number of scripts I must call. #!/bin/sh sleep 15 perl /scripts/create_graph.pl sleep 15 perl /scripts/create_graph_out.pl many more lines. etc. Is there a way I can sleep random length to time before executing each but background

Re: [CentOS] Shell Script Help

2013-09-05 Thread Stephen Harris
On Thu, Sep 05, 2013 at 10:24:55AM -0500, Matt wrote: I have a script file in my cron.hourly that contains a good number of scripts I must call. #!/bin/sh sleep 15 perl /scripts/create_graph.pl sleep 15 perl /scripts/create_graph_out.pl many more lines. etc. Don't background

Re: [CentOS] Shell Script Help

2013-09-05 Thread Tony Sweeney
LIMIT=10 # Or whatever sleep `expr $RANDOM % $LIMIT + 1` -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Matt Sent: 05 September 2013 16:25 To: CentOS mailing list Subject: [CentOS] Shell Script Help I have a script file in my

Re: [CentOS] Shell Script Help

2013-09-05 Thread Mark LaPierre
On 09/05/2013 11:24 AM, Matt wrote: I have a script file in my cron.hourly that contains a good number of scripts I must call. #!/bin/sh sleep 15 perl /scripts/create_graph.pl sleep 15 perl /scripts/create_graph_out.pl many more lines. etc. Is there a way I can sleep random