Question: Automating Tool Update
0
gravatar for Assaf Gordon
9.7 years ago by
Assaf Gordon • 320
United States
Assaf Gordon • 320 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 COMMENT • link • modified 9.7 years ago by Nate Coraor ♦ 3.2k • written 9.7 years ago by Assaf Gordon • 320
0
gravatar for Nate Coraor
9.7 years ago by
Nate Coraor ♦ 3.2k
United States
Nate Coraor ♦ 3.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 COMMENT • link written 9.7 years ago by Nate Coraor ♦ 3.2k
Please log in to add an answer.

Help
Access

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