comparison modules/net_mon/timer_test.py @ 20:1a13a4ecf931

can not recive post-requests wich should deliver if a server is up or down. Updated after a refresh of the webpage, wich will automatically done after 5 seconds
author sean
date Wed, 12 Aug 2015 13:45:58 +0200
parents
children
comparison
equal deleted inserted replaced
19:be6a1aaec717 20:1a13a4ecf931
1 #!/usr/bin/env python3
2
3 """ <DECRIPTION>
4
5 author: Sean Engelhardt <sean.engelhardt@intevation.de>
6
7 This is Free Software unter the terms of the
8 GNU GENERAL PUBLIC LICENSE Version 2 or later.
9 See http://www.gnu.org/licenses/gpl-3.0.txt for details
10 """
11
12 import time, threading
13
14 def foo():
15 print(time.ctime())
16 threading.Timer(10, foo).start()
17
18 foo()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)