Skip to content

Instantly share code, notes, and snippets.

@maasg
Created December 5, 2016 12:42
Show Gist options
  • Select an option

  • Save maasg/614475595feeb644393758c044150865 to your computer and use it in GitHub Desktop.

Select an option

Save maasg/614475595feeb644393758c044150865 to your computer and use it in GitHub Desktop.
Example 'Hello World' Chronos job - execution in a docker image
{
"schedule": "R/2014-09-25T17:22:00Z/PT2M",
"name": "dockerjob",
"container": {
"type": "DOCKER",
"image": "ubuntu:latest",
"network": "HOST",
"volumes": []
},
"cpus": "0.5",
"mem": "512",
"uris": [],
"shell": "true",
"command": "echo 'hello-world'"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment