Search Results

Search: Posts Made By: busyboy
2,070
Posted By busyboy
the exact narration is execute 10 jobs in ...
the exact narration is

execute 10 jobs in either background or foreground -- wait for all them to finish and then start the next 10 or whatever count is coming from the next batch of files.
...
2,070
Posted By busyboy
Start process on X number of files and then wait for the next batch
Thanks for RudiC for his extraordinary help on organizing files in a batch of 10 using below code.

FL=($(ls));
for ((i=0;i<=${#FL[@]};i++)); do
for j in ${FL[@]:$i:10};
do
$batch ${j} ...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy