We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e1290 commit 95c5a68Copy full SHA for 95c5a68
launcher
@@ -8,4 +8,4 @@ dir=/data/work/osmose/logs
8
log=$dir/analyse_$(date "+%Y-%m-%d_%H-%M-%S").$2.log
9
err=$dir/analyse_$(date "+%Y-%m-%d_%H-%M-%S").$2.err
10
11
-ssh osmose@$1 "nohup python /data/project/osmose/backend/osmose_run.py --cron --country '$CTY' $OPT > '$log' 2> '$err' &"
+ssh osmose@$1 "(cd /data/project/osmose/backend/ && nohup python ./osmose_run.py --cron --country '$CTY' $OPT > '$log' 2> '$err' &)"
0 commit comments