Skip to content

Commit

Permalink
[WIP] add jobrunner cli
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul authored and thomaspaulb committed Aug 30, 2022
1 parent 4513c6b commit 60f7c0d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions queue_job/jobrunner/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import odoo

from .runner import QueueJobRunner


def main():
odoo.tools.config.parse_config()
runner = QueueJobRunner.from_environ_or_config()
runner.run()


if __name__ == "__main__":
main()

0 comments on commit 60f7c0d

Please sign in to comment.