mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-10 12:24:05 +08:00
-- Support for registering, transferring, and updating names -- Tools for registering names in bulk (given a csv file) -- Support for running as a service/daemon
19 lines
387 B
Python
Executable File
19 lines
387 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from tools.onename_register import check_new_registrations
|
|
from tools.onename_activate import do_name_firstupdate
|
|
|
|
from time import sleep
|
|
|
|
POLLING_INTERVAL = 10
|
|
|
|
#-----------------------------------
|
|
if __name__ == '__main__':
|
|
|
|
while(1):
|
|
check_new_registrations()
|
|
do_name_firstupdate()
|
|
print "sleeping ... "
|
|
sleep(POLLING_INTERVAL)
|