I just did a test, and this works :

First login, so you get your login cookie :

curl --cookie-jar galaxy_cookie.txt --data-ascii 

Then use that cookie to login, and reload your tool:

curl --silent --cookie galaxy_cookie.txt --data-ascii 
http://dev1.ab.wurnet.nl:8086/admin/reload_tool | grep "donemessage"

If all went well, you get this back :

    <div class="donemessage">Reloaded the tool:<br/><b>name:</b> 
sffinfo<br/><b>id:</b> sffinfo<br/><b>version:</b> 1</div>



> -----Original Message-----
> From: galaxy-dev-boun...@lists.bx.psu.edu [mailto:galaxy-dev-
> boun...@lists.bx.psu.edu] On Behalf Of Nate Coraor
> Sent: maandag 26 maart 2012 17:22
> To: Tim-Christoph Roloff
> Cc: galaxy-dev@lists.bx.psu.edu
> Subject: Re: [galaxy-dev] reload a tool's configuration from command line
> On Mar 22, 2012, at 11:28 AM, Tim-Christoph Roloff wrote:
> > Hello,
> >
> > I was wondering if there is a way to trigger the reload of a tool's 
> > configuration from
> command line.
> > We are using a tool that loads .xml files from tool-data. The .xml files 
> > get modified
> by a script ran by cron frequently. Right now we reload the tool config via 
> the admin
> interface but ideally we could integrate the reload in the cron job.
> >
> > Best regards
> >
> > Tim
> Hi Tim,
> A few people have done it by creating a script that acts as a web client and 
> performs
> the function via the web interface.  There's no direct way to do it from the 
> command
> line without restarting the server, unfortunately.
> --nate

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:


Reply via email to