Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 1997 22:02:09 +0100 (MEZ)
From:      Robert Eckardt <roberte@MEP.Ruhr-Uni-Bochum.de>
To:        hey@tuns.ca (Yingjun He)
Cc:        questions@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <199711192102.WAA01239@ghost.mep.ruhr-uni-bochum.de>
In-Reply-To: <3.0.1.32.19971119143820.0092a100@newton.ccs.tuns.ca> from Yingjun He at "Nov 19, 97 02:38:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
It was Yingjun He who wrote:
> Hello,
> 
> Anyone knows how to run batch jobs in FreeBSD system? Thank you!

Choose a shell of your taste (sh, bash, ksh, csh, tcsh, ... --
usually sh),
read the corresponding man page and enter in a text file as the
very first line `#!/bin/YourShell' (assuming YourShell is in /bin)
followed by your batch commands.
Your batch commands can be any commands you enter on the commandline
plus some statements for flow control.

Make the text file executable (chmod +x YourFile) and call
YourFile like any other command.

Hope, it helps,
Robert

-- 
Robert Eckardt                \\ FreeBSD -- solutions for a large universe.(tm)
RobertE@MEP.Ruhr-Uni-Bochum.de \\       What do you want to boot tomorrow ?(tm)
http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711192102.WAA01239>