Files
reddit/scripts/update_sr_names.sh
Neil Williams 2cc640e708 Move subreddit name search to its own CF.
Subreddit name search is used for recommending
subreddits to users as they type a name on the
submission page.

Also adds a missing script that is needed
to load up the subreddit names into cassandra.
This script should be run occasionally (we do it
once per day) to fill/update the search cache.
2011-06-27 15:40:46 -07:00

5 lines
183 B
Bash
Executable File

#!/bin/bash
cd ~/reddit/r2
~/reddit/scripts/saferun.sh /tmp/update_sr_names.pid nice /usr/local/bin/paster --plugin=r2 run run.ini r2/lib/subreddit_search.py -c "load_all_reddits()"