Created
October 14, 2018 01:26
-
-
Save mattmcla/0ec7093e8f630e093f4f54b51a6e071c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| job "cluster-meta" { | |
| datacenters = ["aws_us-west-2_management"] | |
| type = "batch" | |
| periodic { | |
| cron = "0/15 * * * * * *" | |
| prohibit_overlap = true | |
| } | |
| group "main" { | |
| task "script" { | |
| driver = "raw_exec" | |
| config { | |
| command = "bash" | |
| args = ["-c", "/opt/seriem/services/cluster-meta.sh"] | |
| } | |
| resources { | |
| memory = 50 | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment