How to get 2 programs running?

  • Posted on January 12, 2015
  • aybrahAsked by aybrah

I’m really lost here. Created ubuntu droplet only, how would I download client and another program and run it 24/7 just to idle hours?

Was told something completely different, guess he wanted referral code bonus…

Just push me in the right direction, I don’t want to be spoon fed the whole time. Since I’m here I may as well learn.

At the moment I’m trying to add VNC desktop but I’ll want to learn how to do everything by code as it’ll take less ram. I’m someone who literally came here without any knowledge whatsoever but I’m not going to quit now. xD

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Rather than trigger on ‘idle’, there is a command called nice that can request the kernel scheduler to give the named program a lower priority. This can be used in scripts as well as the command line.

Program daemons are usually run in the background, and there are a few typical ways they are started:

  1. Through a distribution specific or program specific startup command
  2. Using scripts in the /etc/rc.* directories
  3. By cronjob
  4. System programs that are triggered by system events that they have subscribed to.

Have fun learning these things.