Giter Site home page Giter Site logo

Comments (6)

youfou avatar youfou commented on April 28, 2024

可以缓存会话的。

具体可见:

logging 功能仅仅是其中一项功能,wxpy 还可以用来做很多其他事情哈。

from wxpy.

ylqfp avatar ylqfp commented on April 28, 2024

谢谢!请问缓存能保存多久呢?

from wxpy.

youfou avatar youfou commented on April 28, 2024

并不久哈,取决于微信对"无心跳会话保留时长"的策略,个人测试在5~20分钟左右。

from wxpy.

ylqfp avatar ylqfp commented on April 28, 2024

那就没办法做实时监控了= =
简单起见,近似成1个小时处理一次的话,对这种定时类任务,或许可以start起来,在程序里面定时调函数?

from wxpy.

ylqfp avatar ylqfp commented on April 28, 2024

start运行起来后,应该不用再扫码了吧

from wxpy.

youfou avatar youfou commented on April 28, 2024

嗯,这样也是可以的,把机器人当作一个长期运行的服务,从外部调用。

from wxpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.