Page 1 of 1

Is there a terminal mode I can use on my LC server? - Solved

Posted: Mon Jul 01, 2024 12:20 pm
by DR White
Is there a terminal mode I can use on my LC server?

Thank you,

David

Re: Is there a terminal mode I can use on my LC server?

Posted: Mon Jul 01, 2024 12:41 pm
by Klaus
Hi David,

not sure what you mean, put LC server also supports SHELL commands.

Best

Klaus

Re: Is there a terminal mode I can use on my LC server?

Posted: Mon Jul 01, 2024 1:34 pm
by DR White
Trying to learn how to use cron on LC server.

I wanted to try the command "crontab -e"

Re: Is there a terminal mode I can use on my LC server?

Posted: Mon Jul 01, 2024 6:00 pm
by SparkOut
This depends on how your server is set up, ie your hosting package, shared or otherwise, and what permissions are granted to the account under which a terminal console might run.
Is this a 3rd party host on which you have installed LC Server? Or a LiveCode "on-rev" package?
What control do you have over the server besides the usual cPanel configuration?
If, under your hosting account you can run a terminal console, then chances are you can get an equivalent statement invoking shell to work from LC Server without complications. If not, there are probably some ways of tackling this, whether or not.
There is no LC Server command to manipulate crontab natively. But there's no need if you can invoke shell to run the commands you need.
Ultimately, it's not "can LC Server do this?" it's "can I make a call to shell with the right credentials?"

Re: Is there a terminal mode I can use on my LC server?

Posted: Mon Jul 01, 2024 6:47 pm
by DR White
I am using my LC account hosting server.
(LiveCode "on-rev" package)
All I have is cPanel.
Is there other software that I should be using?