More .gitignore, and adding cron jobs to fetch feeds. These will be replaced by celery within the next day or two.

This commit is contained in:
Samuel Clay 2010-08-30 23:56:53 -04:00
parent cb59861098
commit e9f5fc3350
4 changed files with 26 additions and 0 deletions

1
.gitignore vendored
View file

@ -16,3 +16,4 @@ build/
**/*.perspectivev*
*.pbxuser
data/
logs

View file

@ -0,0 +1,5 @@
<h1>NewsBlur is upgrading...</h1>
<p>As of Sunday, August 22nd 8:30pm, NewsBlur is going through wonderful backend changes that will make it much, much faster. (PostgreSQL -> MongoDB, for you nerd types.)</p>
<p>This change will take a few hours. Rest easy knowing I won't sleep until it's done.</p>

9
utils/feed_fetch.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
ps aux | grep refresh_feeds | egrep -v grep | awk '{print $2}' | xargs kill > /dev/null 2>&1
python /home/conesus/newsblur/manage.py refresh_feeds -s &
python /home/conesus/newsblur/manage.py refresh_feeds -s &
python /home/conesus/newsblur/manage.py refresh_feeds -s &
python /home/conesus/newsblur/manage.py refresh_feeds -s &
python /home/conesus/newsblur/manage.py refresh_feeds -s &
python /home/conesus/newsblur/manage.py refresh_feeds -s &

11
utils/feed_fetch_silent.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
ps aux | grep refresh_feeds | egrep -v grep | awk '{print $2}' | xargs kill > /dev/null 2>&1
python /home/conesus/newsblur/manage.py refresh_feeds -s > /dev/null 2>&1 &
python /home/conesus/newsblur/manage.py refresh_feeds -s > /dev/null 2>&1 &
python /home/conesus/newsblur/manage.py refresh_feeds -s > /dev/null 2>&1 &
python /home/conesus/newsblur/manage.py refresh_feeds -s > /dev/null 2>&1 &
python /home/conesus/newsblur/manage.py refresh_feeds -s > /dev/null 2>&1 &
python /home/conesus/newsblur/manage.py refresh_feeds -s > /dev/null 2>&1 &
python /home/conesus/newsblur/manage.py refresh_feeds -s > /dev/null 2>&1 &