Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 1997 12:29:28 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Yingjun He <hey@tuns.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <Pine.BSF.3.96.971119122832.3547A-100000@gdi.uoregon.edu>
In-Reply-To: <3.0.1.32.19971119143820.0092a100@newton.ccs.tuns.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Nov 1997, Yingjun He wrote:

> Hello,
> 
> Anyone knows how to run batch jobs in FreeBSD system? Thank you!

Just write a shell script. The #! line is at the top of the file.  

#!/bin/sh

command1
command2
command3

Make it executable by running `chmod +x scriptname'.

Then run it by typing ./scriptname.

Hope this helps.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971119122832.3547A-100000>