[CentOS] Shell Script Help
Matt
matt.mailinglists at gmail.comThu Sep 5 15:24:55 UTC 2013
- Previous message: [CentOS] CentOS-6 on Toshiba Toughbook CF-31
- Next message: [CentOS] Shell Script Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 each one so master script returns promptly. Something like. sleep (random 1 - 300 seconds, perl /scripts/create_graph_out.pl) &
- Previous message: [CentOS] CentOS-6 on Toshiba Toughbook CF-31
- Next message: [CentOS] Shell Script Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list