'Capture all cron_jobs'

def __init__(self, *args, **kwargs):

    super(CronRunner, self).__init__(*args, **kwargs)
    self.jobs = []
    self.sleeptime = settings.HARDTREE_CRON_PERIOD
    for module in settings.INSTALLED_APPS:
        import_name = ((str(module) + '.') + settings.HARDTREE_MODULE_IDENTIFIER)
        try:
            hmodule = __import__(import_name, fromlist=[str(module)])
            self.jobs.extend(hmodule.CRON)
        except ImportError:
            pass
        except AttributeError:
            if settings.DEBUG:
                pass
