Browse Source

cleaning tmp files

pull/38/head
fred 2 months ago
parent
commit
83b80b55b7
  1. 5
      actions/p4n.swarmscraper.sh

5
actions/p4n.swarmscraper.sh

@ -151,10 +151,13 @@ echo "SUB-SCRAPING lieu FROM $geodata"
# mv ./output.pdf ~/.zen/ipfs/.$IPFSNODEID/astroport/map/p4n/lieu/$lid/bulle.pdf
rm ~/.zen/ipfs/.$IPFSNODEID/astroport/map/p4n/lieu/$lid/bulle.pdf 2>/dev/null
echo "NOW LIEU redirect to http://127.0.0.1:8181/ipfs/$IPFSREPFILEID/$lid.jpg"
rm ./$lid.jpg
rm ./bulle.jpg
fi
cd -
sleep $((1 + RANDOM % 2))
cd - && rm -Rf /tmp/$lid
rm -Rf /tmp/$lid
loop=$(($loop+1));
done

Loading…
Cancel
Save