Skip to content

Commit

Permalink
More .gitignore, and adding cron jobs to fetch feeds. These will be r…
Browse files Browse the repository at this point in the history
…eplaced by celery within the next day or two.
  • Loading branch information
samuelclay committed Aug 31, 2010
1 parent cb59861 commit e9f5fc3
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ build/
**/*.perspectivev*
*.pbxuser
data/
logs
5 changes: 5 additions & 0 deletions media/maintenance.html.unused
Original file line number Diff line number Diff line change
@@ -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 changes: 9 additions & 0 deletions utils/feed_fetch.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 11 additions & 0 deletions utils/feed_fetch_silent.sh
Original file line number Diff line number Diff line change
@@ -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 &

0 comments on commit e9f5fc3

Please sign in to comment.