[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Executing a file in /bin via web page



There's a really easy way...

1) make sure the permissions are set on the script or app to be executable
2) inlude a line like this in your html code  <!--#exec
cmd="your_scripts_path" --> 

That's it!!


Tom Socha wrote:
> 
> I have a simple shell script in the /bin directory called RPD,
> it simple copies a file to a backup directory and renames the origianl
> file.
> 
> I am trying to figure out how to just have a button on a web page that a
> user can click and it will execute the file.
> 
> Any ideas?
> 
> Tom Socha
> Technical Services
> MoJo Graphics
> http://www.mojographics.com
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users

-- 
Clayton McGow		        
support@xxxxxxxxxxx		
http://www.atoznet.com