Files
api.digisnaxx/events/scrapers/scripts/run_news.sh

16 lines
371 B
Bash
Raw Normal View History

2025-11-30 15:34:08 -05:00
#!/bin/bash
BASEDIR=/var/www/digisnaxx.com/api.digisnaxx
DJANGODIR=/var/www/digisnaxx.com/api.digisnaxx/events
SCRIPTDIR=/var/www/digisnaxx.ado/api.digisnaxx/events/scrapers/scripts
NEWSDIR=/var/www/digisnaxx.com/api.digisnaxx/events/scrapers/Working/news
cd $NEWSDIR
for file in *
do
python "$file" $1
echo "SCRIPT COMPLETE"
done
cd $SCRIPTDIR
python clean_up.py