macOS tools moving to my git

This commit is contained in:
2026-05-10 12:53:30 -07:00
parent 61c0d4b5f1
commit 83156ea9e8
101 changed files with 3011 additions and 0 deletions

14
tc1 Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
maxweb=1
echo "** tarte clear caches"
for i in `seq 1 $maxweb`;
do
printf " web$i: "
curl -s --insecure --basic --user "autoproc:YnFZurWVwiM9ov3yKHgo" "https://web$i.tartecosmetics.com/admin/clearcache.php" >> /dev/null &2>&1
printf "cleared!\n"
if [ $i -lt $maxweb ]
then
printf " -- sleep 1 --\n"
sleep 1
fi
done