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
| #!/usr/bin/env bash | |
| # maa-rotation.sh | |
| # Runs the next task in task_rotation. State = last completed task name in task_rotation.state. | |
| # On success: advance to next task. On failure: keep same task for next run. | |
| # Manual run: ./maa-rotation.sh <task_name> | |
| set -euo pipefail | |
| HOME="/home/constrat" | |
| export HOME | |
| export PATH="$HOME/android/sdk/platform-tools:/usr/local/bin:/usr/bin:/bin" |