Server applications - avoiding sleep

R

rodmc

I have written a small server application (for Windows) which handles
sending and receiving information from an instant messaging client and
a database. This server needs to run 24/7, however it stops when the
computer screen is locked.

I assume there is a way to make it run in the background 24/7 but how
do I go about doing this?

At present the application runs from within a wxPython GUI, however
this is only used to start and stop it. It could be entire faceless and
the GUI only used to execute it.

Best,

rod
 
B

bruno at modulix

rodmc said:
I have written a small server application (for Windows) which handles
sending and receiving information from an instant messaging client and
a database. This server needs to run 24/7, however it stops when the
computer screen is locked.

I assume there is a way to make it run in the background 24/7 but how
do I go about doing this?

At present the application runs from within a wxPython GUI, however
this is only used to start and stop it. It could be entire faceless and
the GUI only used to execute it.

http://www.python.org/windows/win32/

google is your friend - when you know what to search !-)
 
L

Lev Elbert

You can make it a service, which has an advantage, that it survives logouts.
SOME PROGRAMMING IS REQIURED. If I need something running the "fast and
dirty" way, I run a regular python application as window application (start
pythonw.exe).
As a way o communication (start, stop, pause) I use tray. If you nee an
example of such a program, I can send one.
 
R

rodmc

Hi Lev,

Sounds interesting. As I am quite new to Python an example program
would be most welcome. My email address is contained in the message.

Best,

rod
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,291
Messages
2,571,453
Members
48,132
Latest member
AnneHarpur

Latest Threads

Top