api for job queue #2615

Open
opened 2014-12-20 20:28:44 +00:00 by j · 1 comment
Owner

it's possible to get a list of active tasks, should be available via api:

c = celery.task.control.inspect()
active = c.active()
for job in active['pandora-encoding']:
    print 'job: ',
    for key in ('id', 'name', 'args', 'time_start'):
        print key,':', job[key],
    print '.'

also find out how to get queued tasks...

it's possible to get a list of active tasks, should be available via api: ``` c = celery.task.control.inspect() active = c.active() for job in active['pandora-encoding']: print 'job: ', for key in ('id', 'name', 'args', 'time_start'): print key,':', job[key], print '.' ``` also find out how to get queued tasks...
rlx added the
backend
label 2014-12-20 20:28:44 +00:00
rlx added this to the 14.04 milestone 2014-12-20 20:28:44 +00:00
j was assigned by rlx 2014-12-20 20:28:44 +00:00
rlx added the
normal
enhancement
labels 2014-12-20 20:28:44 +00:00
Author
Owner

#1596 about a ui for that

#1596 about a ui for that
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2615
No description provided.