Run
onyx exec prod -- ./deploy.sh
Run a remote command once, then detach, inspect, or stop it later.
Use the job id from a detached run with onyx attach, onyx logs, or onyx kill.
onyx exec prod -- ./deploy.sh
onyx exec gpu-box --detach -- python train.py
onyx logs gpu-box job_xxx
onyx kill gpu-box job_xxx
Use these when the job needs a working directory, extra environment, or a hard timeout.
onyx exec prod --cwd /srv/app -- ./deploy.sh
onyx exec prod --env RUST_LOG=info -- cargo test
onyx exec prod --timeout 60s -- cargo test