2010-12-06 08:23:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-03-22 20:16:35 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2010-12-06 08:23:21 +00:00
|
|
|
SERVER1=parallel-server3
|
2013-03-23 20:36:17 +00:00
|
|
|
SERVER2=parallel-server1
|
2010-12-06 08:23:21 +00:00
|
|
|
|
2011-07-20 23:58:23 +00:00
|
|
|
# -L1 will join lines ending in ' '
|
2018-09-20 22:15:14 +00:00
|
|
|
cat <<'EOF' | sed -e s/\$SERVER1/$SERVER1/\;s/\$SERVER2/$SERVER2/ | parallel -vj10 -k --joblog /tmp/jl-`basename $0` -L1 -r
|
2013-03-23 20:36:17 +00:00
|
|
|
echo '### bug #32191: Deep recursion on subroutine main::get_job_with_sshlogin'
|
2013-06-15 14:12:02 +00:00
|
|
|
seq 1 150 | stdout nice parallel -j9 --retries 2 -S localhost,: "/bin/non-existant 2>/dev/null"
|
2013-03-23 20:36:17 +00:00
|
|
|
|
2011-07-20 23:58:23 +00:00
|
|
|
EOF
|