Author Topic: tmux / screen / python - which to use?  (Read 3839 times)

cockhands

  • Guest
tmux / screen / python - which to use?
« on: 2014-06-05, 05:11:13 am »
Server is configured and now I'm trying to figure out how to run things continuously. First, I ran:

Code: [Select]
cd /var/www/nZEDb/misc/update
php update_binaries.php

That went fine. Tried to run this next:

Code: [Select]
cd /var/www/nZEDb/misc/update
php update_releases.php

But received a message I should use python instead because the server is set to threaded. So then I ran:

Code: [Select]
cd /var/www/nZEDb/misc/update/python
update_threaded.py

And the database seems to be populated with stuff. For the server to run unattended, should I use:

Code: [Select]
cd /var/www/nZEDb/misc/nix/screen/threaded
screen start.sh

Code: [Select]
cd /var/www/nZEDb/misc/nix/tmux
php start.php

Or one of the python scripts?

This is a private, headless server so I don't care about monitoring stats, managing users, etc. All I want is everything to continuously update unattended.

Offline BeZazz

  • Prolific Indexer
  • ****
  • Posts: 256
  • Helpful: +9/-2
    • BeZazz
Re: tmux / screen / python - which to use?
« Reply #1 on: 2014-06-05, 09:39:54 am »
I use
Quote
cd /var/www/nZEDb/misc/nix/tmux
php start.php