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

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

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

Post by DR White » Mon Jul 01, 2024 12:20 pm

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

Thank you,

David
Last edited by DR White on Mon Jul 08, 2024 2:32 am, edited 1 time in total.

Klaus
Posts: 14191
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post by Klaus » Mon Jul 01, 2024 12:41 pm

Hi David,

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

Best

Klaus

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

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

Post by DR White » Mon Jul 01, 2024 1:34 pm

Trying to learn how to use cron on LC server.

I wanted to try the command "crontab -e"

SparkOut
Posts: 2944
Joined: Sun Sep 23, 2007 4:58 pm

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

Post by SparkOut » Mon Jul 01, 2024 6:00 pm

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?"

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

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

Post by DR White » Mon Jul 01, 2024 6:47 pm

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?

Post Reply