Re: run manage.py commands within app

2014-03-25 Thread Tom Evans
On Sun, Mar 23, 2014 at 11:46 PM, judy wawira wrote: > Hello I have a django app using haystack and a solr backend to power > searches > > There is dynamic addition of data and wonder if there are other ways to > automatically rebuild the solr index without manually going to

Re: run manage.py commands within app

2014-03-23 Thread Lachlan Musicman
I use cron and a script - but would love to hear other methods as well. Notes: Need to add virtualenv to PATH: crontab -e SHELL=/bin/bash PATH=/home/erp/.virtualenvs/prod/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # # m h dom mon dow command 0 * * * * cd

run manage.py commands within app

2014-03-23 Thread judy wawira
Hello I have a django app using haystack and a solr backend to power searches There is dynamic addition of data and wonder if there are other ways to automatically rebuild the solr index without manually going to the command line to run manage.py rebuild_index Thanks -- You received this