Thanks a lot guys for the help. That's just what I needed. I'll have a look at 
the database table

Neil
________________________________________
From: Hans-Rudolf Hotz [h...@fmi.ch]
Sent: Monday, May 26, 2014 6:23 PM
To: Peter Cock; Burdett, Neil (CCI, Herston - RBWH)
Cc: galaxy-dev@lists.bx.psu.edu
Subject: Re: [galaxy-dev] Galaxy queue

On 05/26/2014 10:00 AM, Peter Cock wrote:
> Hi Neil,
>
> Via the GUI, if you are logged in as an administrator
> (i.e. your email address is listed in universe_wsgi.ini)
> there is a an admin tab (top banner, starting analyze
> data etc). This includes an option to see the current jobs.
>
> Via the command line API? I'm not sure, never looked.
>

connect to the PostgreSQL (or MySQL) database - prferably with a
read-only user, and count the jobs with state "new" (ie grey) and
"running" (ie yellow) in the "job" table. And based on the other
information stored in the "job" table (eg 'tool_id'), you can make a
guess on the expected wait time

Regards, Hans-Rudolf





> Peter
>
> On Mon, May 26, 2014 at 6:59 AM,  <neil.burd...@csiro.au> wrote:
>> Hi,
>>     is there anyway to find out (from the command line or api) what is on the
>> Galaxy queue?
>>
>> When items are queued they appear in grey or processing in yellow can I get
>> hold of these details from the command line as I could then email the user
>> who has just submitted a job with his place on queue and expected wait time.
>>
>> Thanks
>> Neil
>>
>> ___________________________________________________________
>> Please keep all replies on the list by using "reply all"
>> in your mail client.  To manage your subscriptions to this
>> and other Galaxy lists, please use the interface at:
>>    http://lists.bx.psu.edu/
>>
>> To search Galaxy mailing lists use the unified search at:
>>    http://galaxyproject.org/search/mailinglists/
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>    http://lists.bx.psu.edu/
>
> To search Galaxy mailing lists use the unified search at:
>    http://galaxyproject.org/search/mailinglists/
>

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to