Question: Automating Tool Update
0
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.
ADD COMMENT
• link
•
modified 9.7 years ago
by
Nate Coraor ♦ 3.2k
•
written
9.7 years ago by
Assaf Gordon • 320