From b253eafc1a2c57a0d5b7c35d031d8b8d34cfbabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Tue, 11 Feb 2020 16:25:55 +0000 Subject: can run scheduled job at time range based on result file already exists or not --- internal/config/server.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'internal/config') diff --git a/internal/config/server.go b/internal/config/server.go index be6d45e..aa1a02e 100644 --- a/internal/config/server.go +++ b/internal/config/server.go @@ -15,12 +15,14 @@ type Permissions struct { // Scheduled allows to configure scheduled mapreduce jobs. type Scheduled struct { - Name string - ConnectionsPerCPU int - Discovery string - Files string - Query string - Servers string + Name string + Enable bool + Files string + Query string + Outfile string + Discovery string `json:",omitempty"` + Servers string + TimeRange [2]int } // ServerConfig represents the server configuration. -- cgit v1.2.3