How to leave the terminal connected (or how to detach tasks from the terminal)
-
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
-
You may want to start taking a look at "screen"
https://www.howtogeek.com/662422/how-to-use-linuxs-screen-command/
-
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.
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login