def job(self): find_all_links()
def job(self): find_all_links(all_linklists)
def execute(self, *args, **options): print "Finding all new links" find_all_links(all_linklists)
def handle(self, *args, **options): self.stdout.write("Finding all new links...") results = find_all_links(all_linklists) return ("%(urls_created)s new Url object(s), %(links_created)s new Link object(s), " "%(urls_deleted)s Url object(s) deleted") % results