We wrote a sample artist without any logic. You can find it here: https://github.com/mesosphere/sample_mesos_executor .
Here is an example of how you submit a custom artist. Please note that the performer must be executable. We use arx in this example, which is the tar executable. You can also point to a shell script that does java -cp foo.jar my.executor.implementation arg1 arg2...
echo '{"schedule":"R/2012-11-10T00:52:00Z/PT90M", \ "name":"request_event_counter_hourly", \ "command":"/srv/mesos/utils/run_emr.sh jar eventcounter.RequestEventCounter", \ "epsilon":"PT15M", \ "executor":"/srv/mesos/utils/async-executor.arx" }' | \ http POST your-chronos-host.com:4400/scheduler/iso8601
source share