Shell Script running from wiki Page

LabKey Support Forum (Inactive)
Shell Script running from wiki Page Jon (LabKey DevOps)  2017-09-14 12:08
Status: Closed
 
Hi Atul,

So you made a shell script that is going to fetch data from the database, modify the data, and then re-insert it back into the database?

Is there a reason why you're choosing to use a shell script directly on the server to accomplish this? Are these database tables coming off of the LabKey database? Have you considered using our APIs instead?

Generally, browsers cannot normally interface with any files directly on the operating system since there is a layer between them that normally cannot be bypassed unless if something else is used as a medium, like a Java applet or similar. We do have scripting engines that potentially could trigger that shell script, but this kind of setup is very odd and also poses some security risks as well since you normally don't want the browser to execute anything on the server unless it is tightly controlled.

Regards,

Jon