Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 423 Bytes
#!/bin/sh
cd /var/www/theory.org/hood/neighborhood/
cp map.log map.log.old
nice /var/www/theory.org/hood/neighborhood-venv/bin/python map.py | grep neighborhood > map.log
if [ "x`diff map.log map.log.old`" != "x" ]; then
echo 'map.py found some new points today.';
else
echo 'map.py did not find any new points today.';
cat map.log;
fi
/var/www/theory.org/hood/neighborhood-venv/bin/python scrape.py start