| Add first try for run_on_cluster.sh - brcon2025-hackathons - Bitreichcon 2025 H… | |
| git clone git://bitreich.org/brcon2025-hackathons git://enlrupgkhuxnvlhsf6lc3fz… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| --- | |
| commit a1d6045c7ac689f84ec6c48d9eecb89a384609a0 | |
| parent 21bcb97ccf369f776500e8215bf6372a86945530 | |
| Author: Christoph Lohmann <[email protected]> | |
| Date: Thu, 31 Jul 2025 21:45:54 +0200 | |
| Add first try for run_on_cluster.sh | |
| Diffstat: | |
| A seeedfarming/run_on_cluster.sh | 12 ++++++++++++ | |
| 1 file changed, 12 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/seeedfarming/run_on_cluster.sh b/seeedfarming/run_on_cluster.sh | |
| @@ -0,0 +1,12 @@ | |
| +#!/bin/sh | |
| + | |
| +if [ $# -lt 1 ]; | |
| +then | |
| + printf "usage: %s script.py\n" "$(basename "$0")" >&2 | |
| + exit 1 | |
| +fi | |
| + | |
| +pyscript="$1" | |
| + | |
| +cat "$pyscript" | ... | |
| + |