Add files via upload

This commit is contained in:
Penelope Gwen / Pogmommy 2023-02-21 10:50:48 -07:00 committed by GitHub
parent cbd05c2fa5
commit efb9e15022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
macOS_loop.sh Normal file
View file

@ -0,0 +1,12 @@
echo 'export PATH=$PATH:/usr/local/bin/chromedriver' >> ~/.zshenv
source ~/.zshenv
if [ `wc -l ./output/output.txt | awk '{print $1}'` -ge "500" ]
then
mv ./output/output.txt "./output/$(date +"%m-%d-%y-%h-%m-%s").txt"
fi
echo 'running script...' >> ./output/output.txt
/bin/date >> ./output/output.txt
/usr/local/bin/node ./TwitToMast.js -tqp -u pogmommy -n 10 >> ./output/output.txt
/usr/bin/pkill Chrome
/usr/bin/killall node