Results 1 to 3 of 3

Thread: Start/Stop/Restart LCS programmatically?

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,948

    Start/Stop/Restart LCS programmatically?

    It there a "Lianja way" to Stop/Start/Restart the LCS?

    I can do it on windows no problem (using a RUN command on a .bat file, or WScript or CScript, etc.), but thought I'd ask if there is a cross-platform Lianja way.

    thanks,

    Hank

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,771
    In Windows you have the Lianja Server Manager.

    On Linux you have CLI commands.

    In Lianja Cloud you will have the Lianja Admin Dashboard.

    Can you explain what you are wanting to perform these operations for as there may be something built-in that achieves it.

    If you a are wanting to alter database or alter table or simply update some files while the Cloud Server is running you should see the following doc.
    https://www.lianja.com/doc/index.php/LOCKRESOURCE()
    Last edited by barrymavin; 2018-01-31 at 18:32.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,948
    Hi Barry,

    I want to give support the ability to restart the LCS in the case of a hung process, but to do this from a web app (the idea being that the less direct connection to s server, the more secure that server will be). I can use run net... on Windows and CLI commands on Linux (with some research for Linux but Google is my friend). If there were a Lianja way to make this happen, I would have preferred to use that. It's not a need, just checking that I wasn't re-creating the wheel.

    thanks,

    Hank

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us