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
> > p
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 b
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
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
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 b
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
6 matches
Mail list logo