From 326491c23e61f92f1ee477bbe8eedfccc61fd41a Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Sun, 10 Jan 2021 21:25:20 +0100
Subject: [PATCH] =?UTF-8?q?Trivi=C3=A1ln=C3=AD=20skript=20na=20spu=C5=A1t?=
 =?UTF-8?q?=C4=9Bn=C3=AD=20v=C5=A1ech=20job=C5=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 bin/run-jobs | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100755 bin/run-jobs

diff --git a/bin/run-jobs b/bin/run-jobs
new file mode 100755
index 00000000..60635f45
--- /dev/null
+++ b/bin/run-jobs
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+
+import mo.jobs
+import mo.util
+import argparse
+
+parser = argparse.ArgumentParser(description='Spustí joby ve frontě')
+
+args = parser.parse_args()
+
+mo.util.init_standalone()
+mo.jobs.process_jobs()
-- 
GitLab