api.AuthCheck()
while True:
+ # TODO: remove from output
print "reporting status: ", os.popen("uptime").read().strip()
try:
# NOTE: alternately, check other stuff in the environment to infer
api.ReportRunlevel({'run_level' : 'safeboot'})
except:
traceback.print_exc()
- time.sleep(30)
+
+ # TODO: change to a configurable value
+ time.sleep(60)
if __name__ == "__main__":
main()