diff options
| author | Paul Bütow <pbuetow@mimecast.com> | 2020-02-11 16:25:55 +0000 |
|---|---|---|
| committer | Paul Bütow <pbuetow@mimecast.com> | 2020-02-11 16:25:55 +0000 |
| commit | b253eafc1a2c57a0d5b7c35d031d8b8d34cfbabe (patch) | |
| tree | ff51d2ac74a0200ad049bf19c76937f965cb9af1 /internal/config | |
| parent | b84cf58f33e5a4a1d14e1eab7cb74ab4f04e0d7c (diff) | |
can run scheduled job at time range based on result file already exists or not
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/server.go | 14 |
1 files changed, 8 insertions, 6 deletions
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. |
