[Tutor] keeping the program alive
matteo
matteolovatti at mac.com
Thu Jan 1 21:32:40 EST 2004
hi everybody!
i've put this in my small program, just to keep it running continuosly
while 1:
connect_to_server() #it does some things..
sleep(120)
i execute the program with "python script.py &"
it runs well for about 5 minutes but then it quits.
how can i fix it ?
thanks
matteo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 344 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20040102/e05df8e9/attachment.bin
More information about the Tutor
mailing list