Skip to content

Instantly share code, notes, and snippets.

@nsabharwal
Created May 17, 2016 18:38
Show Gist options
  • Save nsabharwal/e3cfff09591cbbe659cf3827c02d211d to your computer and use it in GitHub Desktop.
Save nsabharwal/e3cfff09591cbbe659cf3827c02d211d to your computer and use it in GitHub Desktop.
# install
export MESOS_NATIVE_LIBRARY=/usr/local/lib/libmesos.dylib
git clone https://github.com/mesos/chronos.git
cd chronos
#must have node installed
mvn package
#start on port 8081
java -cp target/chronos*.jar org.apache.mesos.chronos.scheduler.Main --master 127.0.0.1:5050 --zk_hosts localhost:2181 --http_port 8081
#list jobs
curl -L -X GET localhost:8081/scheduler/jobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment