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 | 17c8947071b78861158a9b41a4943b977bb3e74e (patch) | |
| tree | ff51d2ac74a0200ad049bf19c76937f965cb9af1 /internal/config | |
| parent | 8e053e948a7da1281b387f34cf53c45f72dba3f2 (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. |
