Open dashaun opened 7 years ago
Hi @dashaun,
thanks for opening the first community issue :-). Metronome/Job integration is a good idea!
Offtopic: For DC/OS 1.10 we are currently designing to add schedule functionality (cron/manually triggered) to marathon, to have the full feature set of marathon within jobs.
Cheers Johannes
Can me make this work for a "job" in metronome.
Given a json like this:
{ "id": myapp", "description": "myapp", "run": { "artifacts": [ { "uri": "file:///docker.tar.gz" } ], "cmd": "java -Xmx768m -Xss256k -Djava.security.egd=file:/dev/./urandom -jar /app.jar", "cpus": 0.1, "mem": 1024, "disk": 512, "docker": { "image": "us.gcr.io/myrepo/yournotready" } }, "schedules": [ { "id": "default", "enabled": true, "cron": "0 0 *", "timezone": "America/Chicago", "concurrencyPolicy": "ALLOW", "startingDeadlineSeconds": 600 } ] }