

def handle(self, *args, **options):
    self.stdout.write('sendalerts is now running')
    ticks = 0
    while True:
        if self.handle_many():
            ticks = 1
        else:
            ticks += 1
        time.sleep(1)
        if ((args % 60) == 0):
            formatted = timezone.now().isoformat()
            self.stdout.write(('-- MARK %s --' % formatted))

dataset/ETHPy150Open healthchecks/healthchecks/hc/api/management/commands/sendalerts.py Command.handle/VarMisuse@67/81 `ticks`->`args`