----- Original Message -----
From: "GeekBoi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 08, 2001 6:39 PM
Subject: connecting to multiple machines


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I have a script I've used many times in the past for changing
local accounts
> on workstations.  On larger domains it takes quite a while to
run though as
> it stores all the machines in an array then does a foreach
loop to modify
> each machine in turn.  What I would like to do is have the
script work on 10
> machines at a time rather than one at a time.  This should
significantly
> lower the overall runtime of the script.  What is the best way
to work this?
You can use fork (n times), but if the script is running on
Windows, then you'll have to ensure that the functions/modules
the script is calling are thread safe. Many modules are not, and
many more have not yet been tested.

ego
Edward G. Orton, GWN Consultants Inc.
Phone: 613-764-3186, Fax: 613-764-1721
email: [EMAIL PROTECTED]

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to