Title: 增加定时任务 by sunshine-1dev · Pull Request #49 · LagrangeDev/lagrange-python · GitHub
Open Graph Title: 增加定时任务 by sunshine-1dev · Pull Request #49 · LagrangeDev/lagrange-python
X Title: 增加定时任务 by sunshine-1dev · Pull Request #49 · LagrangeDev/lagrange-python
Description: 增加schedule_task方法实现定时任务 lag = Lagrange( int(os.environ.get("LAGRANGE_UIN", "0")), "linux", os.environ.get("LAGRANGE_SIGN_URL", "https://sign.lagrangecore.org/api/sign/25765") ) install_loguru() lag.log.set_level("DEBUG") lag.subscribe(GroupMessage, msg_handler) # 添加计划任务 lag.schedule_task(scheduled_task)
Open Graph Description: 增加schedule_task方法实现定时任务 lag = Lagrange( int(os.environ.get("LAGRANGE_UIN", "0")), "linux", os.environ.get("LAGRANGE_SIGN_URL", "https://sign...
X Description: 增加schedule_task方法实现定时任务 lag = Lagrange( int(os.environ.get("LAGRANGE_UIN", "0")), "linux", os.environ.get("LAGRANGE_SIGN_U...
Opengraph URL: https://github.com/LagrangeDev/lagrange-python/pull/49
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8289a002-51e8-8a5a-dfcc-6807069006d9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E73E:1D81:38EC:5B74:698156B5 |
| html-safe-nonce | fa4ef9db9a9d630783202718f27d8ee13bd1122498048cbde561895fcf2bd72a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzNFOjFEODE6MzhFQzo1Qjc0OjY5ODE1NkI1IiwidmlzaXRvcl9pZCI6IjIyODQ4Nzk0MzQ1MjU3OTE5MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e9d54b902c328a1e8ade73ff42d8c4d9d39cfadc18e4817afc77bc9c63c44f5b |
| hovercard-subject-tag | pull_request:2196617515 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/LagrangeDev/lagrange-python/pull/49/files |
| twitter:image | https://avatars.githubusercontent.com/u/39235890?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/39235890?s=400&v=4 |
| og:image:alt | 增加schedule_task方法实现定时任务 lag = Lagrange( int(os.environ.get("LAGRANGE_UIN", "0")), "linux", os.environ.get("LAGRANGE_SIGN_URL", "https://sign... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4950337b1ba782ed2a56c7fce41be1e928a0fe0880cbdec4c091dcf98c412664 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/LagrangeDev/lagrange-python git https://github.com/LagrangeDev/lagrange-python.git |
| octolytics-dimension-user_id | 148437753 |
| octolytics-dimension-user_login | LagrangeDev |
| octolytics-dimension-repository_id | 753401343 |
| octolytics-dimension-repository_nwo | LagrangeDev/lagrange-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 753401343 |
| octolytics-dimension-repository_network_root_nwo | LagrangeDev/lagrange-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a06489e04583bd8257bde76b6e0d20f2d10ca68d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width