def handle_noargs(self, **options): service_collector.collect_services() periodic_tasks.sync()
def services(db): collect_services()