Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. How to leave the terminal connected (or how to detach tasks from the terminal)

How to leave the terminal connected (or how to detach tasks from the terminal)

Scheduled Pinned Locked Moved Solved Support
web terminal
3 Posts 3 Posters 244 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cocam123
    wrote on last edited by joseph
    #1

    Hi!

    I would like to know how to let the terminal connected. Without being reconnected (I would like to do something on one of my apps, but it takes 2 hours. The fact that the terminal reconnects stops the command, which prevents me from doing my command)

    If I can run my commands and detach them from the terminal, it would be perfect

    Thanks in advance for your help

    1 Reply Last reply
    1
    • J Offline
      J Offline
      jayonrails
      translator
      wrote on last edited by
      #2

      You may want to start taking a look at "screen"

      https://www.howtogeek.com/662422/how-to-use-linuxs-screen-command/

      1 Reply Last reply
      1
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #3

        This is not possible in Cloudron's Web Terminal . A slightly different approach is to just use a custom cron - https://docs.cloudron.io/apps/#cron . cron will run in the "background" and not attached to a terminal. Cron jobs logs are also sent to the App logs.

        1 Reply Last reply
        1
        • girishG girish marked this topic as a question on
        • girishG girish has marked this topic as solved on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search