From a39f6cdc68c43728ffcef4533e0fdc467bad9075 Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Wed, 5 Oct 2016 01:48:00 +0200
Subject: [PATCH] now periodically calling the sort function, closes #26

---
 sorter.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sorter.py b/sorter.py
index 7830402..bed871c 100644
--- a/sorter.py
+++ b/sorter.py
@@ -19,6 +19,7 @@ def sort_log():
 
 
 @app.route('/sort/now')
+@sched_func(60)
 @mod_required
 def sort_now():
 	courses = query('SELECT * FROM courses')
-- 
GitLab