mirror of https://github.com/BOINC/boinc.git
add logging to job script
This commit is contained in:
parent
2f6edb4d58
commit
812b163aa3
|
@ -1,10 +1,14 @@
|
|||
#! /bin/sh
|
||||
# script for running worker in a VM, with shared slot and project dirs
|
||||
|
||||
mkdir /root/project
|
||||
mount -t vboxsf project /root/project
|
||||
execpath=`./boinc_resolve worker`
|
||||
inpath=`./boinc_resolve in`
|
||||
outpath=`./boinc_resolve out`
|
||||
mkdir /root/project >>log 2>&1
|
||||
mount -t vboxsf project /root/project >>log 2>&1
|
||||
execpath=`./boinc_resolve worker` >>log 2>&1
|
||||
inpath=`./boinc_resolve in` >>log 2>&1
|
||||
outpath=`./boinc_resolve out` >>log 2>&1
|
||||
|
||||
$execpath $inpath $outpath
|
||||
echo $execpath >>log
|
||||
echo $inpath >>log
|
||||
echo $outpath >>log
|
||||
|
||||
$execpath $inpath $outpath >>log 2>&1
|
||||
|
|
Loading…
Reference in New Issue