Add first try for run_on_cluster.sh - brcon2025-hackathons - Bitreichcon 2025 Hackathons
 (HTM) git clone git://bitreich.org/brcon2025-hackathons git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/brcon2025-hackathons
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
       ---
 (DIR) commit a1d6045c7ac689f84ec6c48d9eecb89a384609a0
 (DIR) parent 21bcb97ccf369f776500e8215bf6372a86945530
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       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(-)
       ---
 (DIR) 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" | ...
       +