View Full Version : Tcl scripts?
stanf
11-14-2009, 04:33 PM
Not getting any hits searching for "Tcl" here, I probably already have my answer, but it couldn't hurt to ask, right? :)
I know that some webhosts support running Tcl scripts. Does bluehost? If so, how can I get mine to run?
Many thanks...
Stan
farcaster
11-14-2009, 10:26 PM
You would add this as a MIME Type in the cPanel
.tcl text/x-script.tcl
Here is a tutorial on how that is done.
http://helpdesk.bluehost.com/index.php/kb/article/000409
stanf
11-16-2009, 11:28 PM
Hmmm... That seems to make the script run in someone's browser. I'm trying to run the script on the host (hopefully as a cron job).
Actually, I found what I was looking for. The command line simply needs to be "tclsh /path/scriptname.tcl" Seems to work like a charm...
Thanks for your response!
Stan
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.