Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!oakhill!nddsun1!digital!digital.sps.mot.com!chen From: chen@digital.sps.mot.com (Jinfu Chen) Newsgroups: comp.sys.apollo Subject: Re: TZ command under sr10.3 Keywords: daylight time tz Message-ID: <50ef33dd.3593b@digital.sps.mot.com> Date: 12 Apr 91 19:54:13 GMT References: <350@galileo.rtn.ca.boeing.com> Sender: news@digital.sps.mot.com Organization: Motorola, LICD, SPS, Mesa, AZ Lines: 25 Nntp-Posting-Host: logic >#!/com/sh >eon >command := '/com/tz pdt' > >for node in ^"catf node_list" by line > crp "^command" -on //^node -me -cp >endfor >---------------------------------------------------------------------- > >file "node_list" simply is a list of all nodes by name Or you can let lcnode to figure out al the node names: for node in ^"/etc/lcnode -r -b" by line crp -cp "^command" -on ^node -me endfor or in Bourne shell syntax: #!/bin/sh command='/com/tz pdt' for node in `/etc/lcnode -r -b`; do /com/crp -on ${node} -me -cp ${command} done