[Cron Jobs] Add ability to run periodic tasks within proxy.py core #808
abhinavsingh
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
See https://github.com/abhinavsingh/proxy.py/blob/develop/proxy/proxy.py#L81-L83 for background. Currently, core performs constant sleep while server is running. This is a good place to introduce cron style feature.
Describe the solution you'd like
Ability to write cron jobs within plugins. Example, to periodically fetch ad-blocker rule list every hour or so.
Beta Was this translation helpful? Give feedback.
All reactions