Soshot/bin/cronTask.sh
Knah Tsaeb 04a2abeb97 [fix] replace "sh" by "bash" for force shell interpreter
[fix] dir "/cache/cronTask/" not create in not existe
2013-08-16 13:53:55 +02:00

14 lines
329 B
Bash

#!/bin/bash
queueDir="../cache/cronTask/"
for file in $queueDir*.hash
do
if [ -f $file ];
then
while read site hashUrl thumbSize sizeNameDir onlyThumb
do
bash thumb_server.sh "$site" "$hashUrl" "$thumbSize" "$sizeNameDir" "$onlyThumb" "0"
rm $file
done < $file
fi
done