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.
Assaf Gordon wrote:
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 ?
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
participants (2)
-
Assaf Gordon
-
Nate Coraor