Xref: utzoo comp.unix.questions:20253 alt.sys.sun:571 Path: utzoo!mnetor!geac!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!jato!lwall From: lwall@jato.Jpl.Nasa.Gov (Larry Wall) Newsgroups: comp.unix.questions,alt.sys.sun Subject: Re: crontab update Message-ID: <2942@jato.Jpl.Nasa.Gov> Date: 28 Feb 90 18:28:23 GMT References: <855@edstip.EDS.COM> <24572@princeton.Princeton.EDU> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Distribution: na Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 17 In article emv@math.lsa.umich.edu (Edward Vielmetti) writes: : This is OK but -- I have a bunch of diskless machines with their : crontab files all mounted via NFS from a server. To update the whole : batch I need to log in to every machine and run 'crontab' -- if : I could automate the procedure somewhat I'd like to. I suggest you check out the gsh program that comes with perl. It (and gcp and ged) will let you do things on sets of machines. gsh all 'crontab -l >/tmp/crontmp' ged all /tmp/crontmp s/daily/weekly/; ^D gsh all 'crontab /tmp/crontmp' Larry Wall lwall@jpl-devvax.jpl.nasa.gov