git.samba.org
/
build-farm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e47d327
)
bump dead host time to 3 weeks
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 8 Jan 2014 05:23:47 +0000
(18:23 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 8 Jan 2014 05:23:47 +0000
(18:23 +1300)
mail-dead-hosts.py
patch
|
blob
|
history
diff --git
a/mail-dead-hosts.py
b/mail-dead-hosts.py
index fada47eebf3ad0eaad65d71c793e37c6ae37e656..56ca81158ac5cf51e5a18f6c0c6471e1fe7aba7a 100755
(executable)
--- a/
mail-dead-hosts.py
+++ b/
mail-dead-hosts.py
@@
-33,7
+33,7
@@
buildfarm = BuildFarm(timeout=40.0)
smtp = smtplib.SMTP()
smtp.connect()
smtp = smtplib.SMTP()
smtp.connect()
-hosts = buildfarm.hostdb.dead_hosts(
7
* 86400)
+hosts = buildfarm.hostdb.dead_hosts(
21
* 86400)
for host in hosts:
if host.last_update:
last_update = time.strftime("%a %b %e %H:%M:%S %Y", time.gmtime(host.last_update))
for host in hosts:
if host.last_update:
last_update = time.strftime("%a %b %e %H:%M:%S %Y", time.gmtime(host.last_update))