Last active
November 12, 2015 13:25
-
-
Save pavlenko-volodymyr/15fb0db5cb13ba0bf8f8 to your computer and use it in GitHub Desktop.
cd to the directory of the latest task run at mesos slave
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
| #!/bin/sh | |
| MESOS_HOME="/tmp/mesos" | |
| cd "$(\ls -1dt $MESOS_HOME/slaves/*/ | head -n 1)" && \ | |
| cd "$(\ls -1dt frameworks/*/ | head -n 1)" && \ | |
| cd executors/atropos-executor/runs/latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment