Charles Forsyth20080430-1200e1164dc18 years agoHistory
28 lines · 418 B · Text
RawDownload
#!/dis/shload std arg sexprsopts=()root=/grid/slave fn usage {	echo 'usage: worker [-a schedaddr] [configfile]' >[1=2]	raise usage}ftest -e /net/cs || ndb/cs run /lib/sh/owen arg a+ {opts=-a $arg} - $*configfile=$*readconfig {	if {~ $attr root} {		root=$val	}} {	echo ++++++++++++++ start `{date}	if{! ftest -f /net/cs} {		ndb/cs	}	owen/worker $opts $configfile} >[2=1] | timestamp >> $root/log