Re: Trying to run jobs in the background using multiprocessing

2013-11-28 Thread Pau Creixell
Cool, thanks Javier. I will look into the different solutions you suggest. Cheers, Pau On Thursday, November 28, 2013 9:32:15 AM UTC+1, Javier Guerra wrote: > > On Thu, Nov 28, 2013 at 2:42 AM, Pau Creixell > <paucr...@gmail.com> > wrote: > > I guess if there isn't a

Re: Trying to run jobs in the background using multiprocessing

2013-11-27 Thread Pau Creixell
I'll have to dig into Celery. Cheers, Pau On Thursday, November 28, 2013 4:01:25 AM UTC+1, Doug Blank wrote: > > On Wed, Nov 27, 2013 at 2:58 PM, Pau Creixell > <paucr...@gmail.com> > wrote: > > Hi there! > > > > I am trying to run jobs in the back

Trying to run jobs in the background using multiprocessing

2013-11-27 Thread Pau Creixell
Hi there! I am trying to run jobs in the background using the following (minimal) code: Under views.py: def submit(request): model = MyModel() model.RunInAThread(ReferenceSeparator, MutationSeparator) Under models.py: class MyModel(models.Model): def RunInAThread(self,