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 ticks % 60 in 0:
                formatted = timezone.now().isoformat()
                self.stdout.write("-- MARK %s --" % formatted)
dataset/ETHPy150Open healthchecks/healthchecks/hc/api/management/commands/sendalerts.py/Command.handle/operator `==` -> `in`