Skip to content

Commit 95c5a68

Browse files
committed
Fix osmose_run.py path in launcher
1 parent 30e1290 commit 95c5a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launcher

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ dir=/data/work/osmose/logs
88
log=$dir/analyse_$(date "+%Y-%m-%d_%H-%M-%S").$2.log
99
err=$dir/analyse_$(date "+%Y-%m-%d_%H-%M-%S").$2.err
1010

11-
ssh osmose@$1 "nohup python /data/project/osmose/backend/osmose_run.py --cron --country '$CTY' $OPT > '$log' 2> '$err' &"
11+
ssh osmose@$1 "(cd /data/project/osmose/backend/ && nohup python ./osmose_run.py --cron --country '$CTY' $OPT > '$log' 2> '$err' &)"

0 commit comments

Comments
 (0)