view pkg/imports/fwsched.go @ 1572:056a86b24be2

Made bottleneck primary key an int. Attention: This may break something!
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 12 Dec 2018 19:21:02 +0100
parents d9eba69f6515
children
line wrap: on
line source

// 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!
}