Parallel Tasks

Jonathan Hutchins hutchins at opus1.com
Mon Jul 22 23:43:37 CDT 2002


Ok, so what I'm after is, I think:

#! /bin/bash
#
# Check all sites served in parallel
#
chklinks site1.com &
chklinks site2.com &
chklinks site3.com

# EOF

Without the ampersand, site2 would wait for site1 to complete.

I know this works from the command line, I'm just trying to see if there's a
preferred practice for calls from a batch file.




More information about the Kclug mailing list