code: def check_bot(task_type=SYSTEM_TASK):
      
      if glb.wxbot.bot.alive:
          msg = generate_run_info()
          message = Message(content=msg, receivers='status')
          glb.wxbot.send_msg(message)
          _logger.info(
              '{0} Send status message {1} at {2:%Y-%m-%d %H:%M:%S}'.format(task_type, msg, datetime.datetime.now()))
      else:
          # todo
          pass
docs: wxpy bot 健康检查任务