2013-08-16 11:56:15 +02:00
|
|
|
#!/bin/bash
|
|
|
|
queueDir="../cache/cronTask/"
|
|
|
|
|
|
|
|
for file in $queueDir*.hash
|
|
|
|
do
|
|
|
|
if [ -f $file ];
|
|
|
|
then
|
|
|
|
while read site hashUrl thumbSize sizeNameDir onlyThumb
|
|
|
|
do
|
2013-08-16 13:53:55 +02:00
|
|
|
bash thumb_server.sh "$site" "$hashUrl" "$thumbSize" "$sizeNameDir" "$onlyThumb" "0"
|
2013-08-16 11:56:15 +02:00
|
|
|
rm $file
|
|
|
|
done < $file
|
|
|
|
fi
|
|
|
|
done
|