changeset 1651:8a22d90fb961

Scheduled imports: We do the gauge measurements first.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 20 Dec 2018 17:17:05 +0100
parents 90211725e4a9
children f39957ea08aa
files pkg/imports/fwsched.go pkg/imports/gmsched.go
diffstat 2 files changed, 29 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/fwsched.go	Thu Dec 20 16:45:26 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-// This is Free Software under GNU Affero General Public License v >= 3.0
-// without warranty, see README.md and license for details.
-//
-// SPDX-License-Identifier: AGPL-3.0-or-later
-// License-Filename: LICENSES/AGPL-3.0.txt
-//
-// Copyright (C) 2018 by via donau
-//   – Österreichische Wasserstraßen-Gesellschaft mbH
-// Software engineering by Intevation GmbH
-//
-// Author(s):
-//  * Sascha L. Teichmann <sascha.teichmann@intevation.de>
-
-package imports
-
-import (
-	"log"
-
-	"gemma.intevation.de/gemma/pkg/scheduler"
-)
-
-func init() {
-	scheduler.RegisterAction("fw", scheduledFW)
-}
-
-func scheduledFW(user string, cfgID *int64) {
-	log.Println("info: scheduled FW import")
-	// TODO: Implement me!
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pkg/imports/gmsched.go	Thu Dec 20 17:17:05 2018 +0100
@@ -0,0 +1,29 @@
+// This is Free Software under GNU Affero General Public License v >= 3.0
+// without warranty, see README.md and license for details.
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+// License-Filename: LICENSES/AGPL-3.0.txt
+//
+// Copyright (C) 2018 by via donau
+//   – Österreichische Wasserstraßen-Gesellschaft mbH
+// Software engineering by Intevation GmbH
+//
+// Author(s):
+//  * Sascha L. Teichmann <sascha.teichmann@intevation.de>
+
+package imports
+
+import (
+	"log"
+
+	"gemma.intevation.de/gemma/pkg/scheduler"
+)
+
+func init() {
+	scheduler.RegisterAction("gm", scheduledGM)
+}
+
+func scheduledGM(user string, cfgID *int64) {
+	log.Println("info: scheduled GM import")
+	// TODO: Implement me!
+}