nkrumm / gauss

GAUSS: Genome Annotation Umbrella for SNVs and Structure
1 stars 0 forks source link

Submit jobs to mongodb db.jobs collection and create "Jobs" page #19

Open nkrumm opened 11 years ago

nkrumm commented 11 years ago

GaussWorkerManager should submit job entries to a mongodb. Should also now have a get_running_jobs() and get_all_jobs() functionality.

Jobs view should show running jobs as well as older jobs.

Future: Ability to cancel jobs from this page, as well as progress updates.

nkrumm commented 11 years ago

Note: not all jobs may be "cancellable"-- for example, an update query may not be cancellable. Worker classes should have a _cancel() function which attempts to undo the results.

It may not be possible to actually kill an RQ job (may have to stop the RQ worker via kill).