Question: Automating Tool Update
gravatar for Assaf Gordon
9.7 years ago by
Assaf Gordon320
United States
Assaf Gordon320 wrote:
Hello, I have a tool which reads options from a text file (with a 'from_file' directive in the XML). A cron job regularly updates the file, and I need to reload the tool. Until recently I've used the following hack to force a tool reload (inside a shell script): wget -q -O /dev/null http://localhost:8080 --post-data="passwd=MYPASSWD&tool_id=my_tool_id&action=tool_reload" But I've recently switched to external authentication, and the above method doesn't work any more. I could try to simulate the entire user authentication process through the apache proxy, but it seems such a waste - the cron job runs on the same server as the Galaxy process. is there a better way to tell the galaxy process to reload a tool ? Thanks, Gordon.
galaxy • 933 views
ADD COMMENTlink modified 9.7 years ago by Nate Coraor3.2k • written 9.7 years ago by Assaf Gordon320
gravatar for Nate Coraor
9.7 years ago by
Nate Coraor3.2k
United States
Nate Coraor3.2k wrote:
Gordon, Presently there's no way to do it. I've been pondering HUP support but won't be implementing anything any time soon. wget does support http authentication with --user and --password though. --nate
ADD COMMENTlink written 9.7 years ago by Nate Coraor3.2k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 171 users visited in the last hour